diff src/testdir/test_digraph.vim @ 30379:25e3121ed316 v9.0.0525

patch 9.0.0525: manually deleting temp test files Commit: https://github.com/vim/vim/commit/5917341f65d4fc669b9d15343ccdb00c160201da Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 20 22:01:33 2022 +0100 patch 9.0.0525: manually deleting temp test files Problem: Manually deleting temp test files. Solution: Add the 'D' flag to writefile().
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Sep 2022 23:15:04 +0200
parents b4c111ea83b1
children 74a0f1bc62b1
line wrap: on
line diff
--- a/src/testdir/test_digraph.vim
+++ b/src/testdir/test_digraph.vim
@@ -494,9 +494,8 @@ endfunc
 func Test_loadkeymap_error()
   CheckFeature keymap
   call assert_fails('loadkeymap', 'E105:')
-  call writefile(['loadkeymap', 'a'], 'Xkeymap')
+  call writefile(['loadkeymap', 'a'], 'Xkeymap', 'D')
   call assert_fails('source Xkeymap', 'E791:')
-  call delete('Xkeymap')
 endfunc
 
 " Test for the characters displayed on the screen when entering a digraph