Mercurial > vim
diff src/testdir/test_file_perm.vim @ 30051:13b02c1ea0f7 v9.0.0363
patch 9.0.0363: common names in test files causes tests to be flaky
Commit: https://github.com/vim/vim/commit/b18b49699776485150b71626069a40d12d2c5590
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 2 21:55:50 2022 +0100
patch 9.0.0363: common names in test files causes tests to be flaky
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Sep 2022 23:00:04 +0200 |
parents | 546bdeef35f1 |
children | a7a9e8b9af89 |
line wrap: on
line diff
--- a/src/testdir/test_file_perm.vim +++ b/src/testdir/test_file_perm.vim @@ -22,9 +22,9 @@ func Test_file_perm() call assert_equal(1, setfperm('Xtest', 'rwx------')) call delete('Xtest') - call assert_fails("call setfperm(['Xfile'], 'rw-rw-rw-')", 'E730:') - call assert_fails("call setfperm('Xfile', [])", 'E730:') - call assert_fails("call setfperm('Xfile', 'rwxrwxrwxrw')", 'E475:') + call assert_fails("call setfperm(['Xpermfile'], 'rw-rw-rw-')", 'E730:') + call assert_fails("call setfperm('Xpermfile', [])", 'E730:') + call assert_fails("call setfperm('Xpermfile', 'rwxrwxrwxrw')", 'E475:') endfunc " vim: shiftwidth=2 sts=2 expandtab