Mercurial > vim
comparison src/testdir/test_writefile.vim @ 30090:bd62c3173f72 v9.0.0381
patch 9.0.0381: writefile test leaves files behind
Commit: https://github.com/vim/vim/commit/b40ad4ff148404b1226bea7051278a1c3c79d4f3
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sun Sep 4 21:29:46 2022 +0100
patch 9.0.0381: writefile test leaves files behind
Problem: Writefile test leaves files behind.
Solution: Fix the file names of files to be deleted. (Dominique Pell?,
closes #11056)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Sep 2022 22:30:04 +0200 |
parents | a542dfb1c1a2 |
children | 0fe61fa4e5d1 |
comparison
equal
deleted
inserted
replaced
30089:0a50e536de81 | 30090:bd62c3173f72 |
---|---|
73 call setline(1, ["\U10000000"]) | 73 call setline(1, ["\U10000000"]) |
74 let output = execute('write! ++enc=utf-16 Xwfcfile') | 74 let output = execute('write! ++enc=utf-16 Xwfcfile') |
75 call assert_match('CONVERSION ERROR', output) | 75 call assert_match('CONVERSION ERROR', output) |
76 let output = execute('write! ++enc=ucs-2 Xwfcfile') | 76 let output = execute('write! ++enc=ucs-2 Xwfcfile') |
77 call assert_match('CONVERSION ERROR', output) | 77 call assert_match('CONVERSION ERROR', output) |
78 call delete('Xfilz~') | 78 call delete('Xwfcfilz~') |
79 call delete('Xfily~') | 79 call delete('Xwfcfily~') |
80 %bw! | 80 %bw! |
81 | 81 |
82 call delete('Xwfcfile') | 82 call delete('Xwfcfile') |
83 call delete('Xwfcfile' .. &backupext) | 83 call delete('Xwfcfile' .. &backupext) |
84 bwipe! | 84 bwipe! |