mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.1326: largefile test fails on CI, glob test on MS-Windows
Problem: Largefile test fails on CI, glob test on MS-Windows.
Solution: Remove largefile test from list of all tests. Don't run
Test_glob() on non-unix systems. More cleanup. (Yegappan
Lakshmanan, closes vim/vim#2354)
6e77df2d85
This commit is contained in:
parent
2c64f01674
commit
53eb835e8f
@ -9,12 +9,19 @@ function SetUp()
|
||||
endfunction
|
||||
|
||||
function Test_glob()
|
||||
if !has('unix')
|
||||
" This test fails on Windows because of the special characters in the
|
||||
" filenames. Disable the test on non-Unix systems for now.
|
||||
return
|
||||
endif
|
||||
call assert_equal("", glob('Xxx\{'))
|
||||
call assert_equal("", glob('Xxx\$'))
|
||||
w! Xxx{
|
||||
w! Xxx\$
|
||||
call assert_equal("Xxx{", glob('Xxx\{'))
|
||||
call assert_equal("Xxx$", glob('Xxx\$'))
|
||||
call delete('Xxx{')
|
||||
call delete('Xxx$')
|
||||
endfunction
|
||||
|
||||
function Test_globpath()
|
||||
|
@ -5,4 +5,6 @@ function Test_edit()
|
||||
edit +1|s/|/PIPE/|w Xfile1| e Xfile2|1 | s/\//SLASH/|w
|
||||
call assert_equal(["fooPIPEbar"], readfile("Xfile1"))
|
||||
call assert_equal(["fooSLASHbar"], readfile("Xfile2"))
|
||||
call delete('Xfile1')
|
||||
call delete('Xfile2')
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user