Patch 8.2.0211
Problem: Test for ANSI colors fails without an "ls" command.
Solution: Use "dir". (Ken Takata, closes #5582)
Files: src/testdir/test_functions.vim
*** ../vim-8.2.0210/src/testdir/test_functions.vim 2020-01-31
21:13:36.474268527 +0100
--- src/testdir/test_functions.vim 2020-02-05 20:08:37.315665059 +0100
***************
*** 1965,1971 ****
" settagstack()
call settagstack(1, #{items : range(4)})
!
" sign_define()
call assert_fails("call sign_define(range(5))", "E715:")
call assert_fails("call sign_placelist(range(5))", "E715:")
--- 1965,1971 ----
" settagstack()
call settagstack(1, #{items : range(4)})
!
" sign_define()
call assert_fails("call sign_define(range(5))", "E715:")
call assert_fails("call sign_placelist(range(5))", "E715:")
***************
*** 1997,2008 ****
set tagfunc=TagFunc
call assert_fails("call taglist('asdf')", 'E987:')
set tagfunc=
!
" term_start()
if has('terminal') && has('termguicolors')
call assert_fails('call term_start(range(3, 4))', 'E474:')
let g:terminal_ansi_colors = range(16)
! call assert_fails('call term_start("ls", #{term_finish: "close"})',
'E475:')
unlet g:terminal_ansi_colors
endif
--- 1997,2013 ----
set tagfunc=TagFunc
call assert_fails("call taglist('asdf')", 'E987:')
set tagfunc=
!
" term_start()
if has('terminal') && has('termguicolors')
call assert_fails('call term_start(range(3, 4))', 'E474:')
let g:terminal_ansi_colors = range(16)
! if has('win32')
! let cmd = "cmd /c dir"
! else
! let cmd = "ls"
! endif
! call assert_fails('call term_start("' .. cmd .. '", #{term_finish:
"close"})', 'E475:')
unlet g:terminal_ansi_colors
endif
*** ../vim-8.2.0210/src/version.c 2020-02-04 23:08:11.081794687 +0100
--- src/version.c 2020-02-05 20:08:30.427695821 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 211,
/**/
--
If you put 7 of the most talented OSS developers in a room for a week
and asked them to fix a bug in a spreadsheet program, in 1 week
you'd have 2 new mail readers and a text-based web browser.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202002051911.015JB2dN019843%40masaka.moolenaar.net.