aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_bufline.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_bufline.vim')
-rw-r--r--test/old/testdir/test_bufline.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/old/testdir/test_bufline.vim b/test/old/testdir/test_bufline.vim
index 50feaf2689..51b657f00e 100644
--- a/test/old/testdir/test_bufline.vim
+++ b/test/old/testdir/test_bufline.vim
@@ -86,11 +86,10 @@ func Test_setline_startup()
if cmd == ''
return
endif
- call writefile(['call setline(1, "Hello")', 'silent w Xtest', 'q!'], 'Xscript')
+ call writefile(['call setline(1, "Hello")', 'silent w Xtest', 'q!'], 'Xscript', 'D')
call system(cmd)
call assert_equal(['Hello'], readfile('Xtest'))
- call delete('Xscript')
call delete('Xtest')
endfunc
@@ -215,12 +214,11 @@ func Test_appendbufline_redraw()
call deletebufline(buf, 1, '$')
call appendbufline(buf, '$', 'Hello Vim world...')
END
- call writefile(lines, 'XscriptMatchCommon')
+ call writefile(lines, 'XscriptMatchCommon', 'D')
let buf = RunVimInTerminal('-S XscriptMatchCommon', #{rows: 10})
call VerifyScreenDump(buf, 'Test_appendbufline_1', {})
call StopVimInTerminal(buf)
- call delete('XscriptMatchCommon')
endfunc
func Test_setbufline_select_mode()