diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:27:14 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 16:31:31 +0800 |
| commit | 28c2e83fb424395dbbdeacfc98f07ad4fa6c74c2 (patch) | |
| tree | 82b30d58e88eab5e9f41c106549621edd0cc1e27 /test/old/testdir/test_backup.vim | |
| parent | 00ad0c81b6868ae5490668741be9a06d6a6627b0 (diff) | |
| download | rneovim-28c2e83fb424395dbbdeacfc98f07ad4fa6c74c2.tar.gz rneovim-28c2e83fb424395dbbdeacfc98f07ad4fa6c74c2.tar.bz2 rneovim-28c2e83fb424395dbbdeacfc98f07ad4fa6c74c2.zip | |
vim-patch:9.0.0313: using common name in tests leads to flaky tests
Problem: Using common name in tests leads to flaky tests.
Solution: Rename files and directories to be more specific.
https://github.com/vim/vim/commit/e7cda97b6b578b33a42de0d27ac2876337c641ca
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_backup.vim')
| -rw-r--r-- | test/old/testdir/test_backup.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/old/testdir/test_backup.vim b/test/old/testdir/test_backup.vim index d304773da4..2331d3fb7d 100644 --- a/test/old/testdir/test_backup.vim +++ b/test/old/testdir/test_backup.vim @@ -79,11 +79,11 @@ endfunc func Test_non_existing_backupdir() throw 'Skipped: Nvim auto-creates backup directory' set backupdir=./non_existing_dir backupskip= - call writefile(['line1'], 'Xfile') - new Xfile + call writefile(['line1'], 'Xbackupdir') + new Xbackupdir call assert_fails('write', 'E510:') set backupdir&vim backupskip&vim - call delete('Xfile') + call delete('Xbackupdir') endfunc " vim: shiftwidth=2 sts=2 expandtab |