diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-05 21:40:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-05 21:40:44 +0100 |
commit | 3411265a3698c3d5ef56d9b0c3bb237a9f5fdba1 (patch) | |
tree | ea61985ac705ed5c645a935608cbc84cd918636f /src/testdir/test_breakindent.vim | |
parent | 86d87256c4005c6215da5af2597fbf6f6304421f (diff) |
patch 9.0.0391: using separate delete() call instead of writefile() 'D' flagv9.0.0391
Problem: Using separate delete() call instead of writefile() 'D' flag.
Solution: Use the writefile 'D' flag.
Diffstat (limited to 'src/testdir/test_breakindent.vim')
-rw-r--r-- | src/testdir/test_breakindent.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testdir/test_breakindent.vim b/src/testdir/test_breakindent.vim index 1c02294bc4..f052fb7be9 100644 --- a/src/testdir/test_breakindent.vim +++ b/src/testdir/test_breakindent.vim @@ -902,14 +902,13 @@ func Test_cursor_position_with_showbreak() repeat('x', &columns - leftcol - 1)->setline(1) 'second line'->setline(2) END - call writefile(lines, 'XscriptShowbreak') + call writefile(lines, 'XscriptShowbreak', 'D') let buf = RunVimInTerminal('-S XscriptShowbreak', #{rows: 6}) call term_sendkeys(buf, "AX") call VerifyScreenDump(buf, 'Test_cursor_position_with_showbreak', {}) call StopVimInTerminal(buf) - call delete('XscriptShowbreak') endfunc func Test_no_spurious_match() |