commit | fe3418abe0dac65e42e85b5a91c5d0c975bc65bb | [log] [tgz] |
---|---|---|
author | Dominique Pelle <dominique.pelle@gmail.com> | Sat Jul 10 17:59:48 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 10 17:59:48 2021 +0200 |
tree | a7b357a0de9079bf2ea85732bbc2619598ad6d05 | |
parent | 5b73992d8f82be7ac4b6f46c17f53ffb9640e5fa [diff] [blame] |
patch 8.2.3136: no test for E187 and "No swap file" Problem: No test for E187 and "No swap file". Solution: Add a test. (Dominique Pellé, closes #8540)
diff --git a/src/testdir/test_swap.vim b/src/testdir/test_swap.vim index e62412b..72d204a 100644 --- a/src/testdir/test_swap.vim +++ b/src/testdir/test_swap.vim
@@ -574,4 +574,8 @@ augroup! test_swapchoice endfunc +func Test_no_swap_file() + call assert_equal("\nNo swap file", execute('swapname')) +endfunc + " vim: shiftwidth=2 sts=2 expandtab