aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/fileio_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-03 12:13:04 +0800
committerGitHub <noreply@github.com>2023-10-03 12:13:04 +0800
commit04af9d49ee9f29a578d0891af20857fea45b674b (patch)
treee1baa013cdbdbe9dff19a53b186809910fef4bed /test/functional/core/fileio_spec.lua
parent6851b265ba1d232cc47927ef982d10d5df7a5cf4 (diff)
downloadrneovim-04af9d49ee9f29a578d0891af20857fea45b674b.tar.gz
rneovim-04af9d49ee9f29a578d0891af20857fea45b674b.tar.bz2
rneovim-04af9d49ee9f29a578d0891af20857fea45b674b.zip
test(fileio_spec): fix files not cleaned up properly (#25483)
Diffstat (limited to 'test/functional/core/fileio_spec.lua')
-rw-r--r--test/functional/core/fileio_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/core/fileio_spec.lua b/test/functional/core/fileio_spec.lua
index f2b360f0d8..a1a90a59f3 100644
--- a/test/functional/core/fileio_spec.lua
+++ b/test/functional/core/fileio_spec.lua
@@ -40,6 +40,7 @@ describe('fileio', function()
os.remove('Xtest_startup_file1')
os.remove('Xtest_startup_file1~')
os.remove('Xtest_startup_file2')
+ os.remove('Xtest_startup_file2~')
os.remove('Xtest_ั‚ะตัั‚.md')
os.remove('Xtest-u8-int-max')
os.remove('Xtest-overwrite-forced')
@@ -136,7 +137,7 @@ describe('fileio', function()
it('backup with full path with spaces', function()
skip(is_ci('cirrus'))
clear()
- mkdir('Xtest_backup with spaces')
+ mkdir('Xtest_backupdir with spaces')
command('set backup')
command('set backupdir=Xtest_backupdir\\ with\\ spaces//')
command('write Xtest_startup_file1')