vim-patch:8.0.1055: bufline test hangs on MS-Windows

Problem:    Bufline test hangs on MS-Windows.
Solution:   Avoid message for writing file.  Source shared.vim when running
            test individually.
11aa62f8f9
This commit is contained in:
Daniel Hahler
2019-06-18 00:21:04 +02:00
parent 8db93d0d83
commit d43cf02186

View File

@@ -32,7 +32,7 @@ func Test_setline_startup()
if cmd == '' if cmd == ''
return return
endif endif
call writefile(['call setline(1, "Hello")', 'w Xtest', 'q!'], 'Xscript') call writefile(['call setline(1, "Hello")', 'silent w Xtest', 'q!'], 'Xscript')
call system(cmd) call system(cmd)
call assert_equal(['Hello'], readfile('Xtest')) call assert_equal(['Hello'], readfile('Xtest'))