diff options
Diffstat (limited to 'src/testdir/test_restricted.vim')
-rw-r--r-- | src/testdir/test_restricted.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testdir/test_restricted.vim b/src/testdir/test_restricted.vim index f743fbf3e4..d01406eb01 100644 --- a/src/testdir/test_restricted.vim +++ b/src/testdir/test_restricted.vim @@ -101,7 +101,7 @@ func Test_restricted_mode() call writefile(v:errors, 'Xresult') qa! END - call writefile(lines, 'Xrestricted') + call writefile(lines, 'Xrestricted', 'D') if RunVim([], [], '-Z --clean -S Xrestricted') call assert_equal([], readfile('Xresult')) endif @@ -114,7 +114,6 @@ func Test_restricted_mode() call assert_equal([], readfile('Xresult')) endif - call delete('Xrestricted') call delete('Xresult') endfunc |