diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-02 21:55:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-02 21:55:50 +0100 |
commit | b18b49699776485150b71626069a40d12d2c5590 (patch) | |
tree | e583af125f2624cedd5420ba218f9628b122e209 /src/testdir/test_gui.vim | |
parent | f5724376ab7362b5a98eaa8a331d663ef722c2a2 (diff) |
patch 9.0.0363: common names in test files causes tests to be flakyv9.0.0363
Problem: Common names in test files causes tests to be flaky.
Solution: Use more specific names.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r-- | src/testdir/test_gui.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim index fcb54e5aed..29e4ecdd5b 100644 --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -1602,7 +1602,7 @@ endfunc func Test_gui_dialog_file() let lines =<< trim END - file Xfile + file Xdialfile normal axxx confirm qa END @@ -1614,10 +1614,10 @@ func Test_gui_dialog_file() execute prefix .. GetVimCommand() .. ' -g -f --clean --gui-dialog-file Xdialog -S Xlines' call WaitForAssert({-> assert_true(filereadable('Xdialog'))}) - call assert_match('Question: Save changes to "Xfile"?', readfile('Xdialog')->join('<NL>')) + call assert_match('Question: Save changes to "Xdialfile"?', readfile('Xdialog')->join('<NL>')) call delete('Xdialog') - call delete('Xfile') + call delete('Xdialfile') call delete('Xlines') endfunc |