summaryrefslogtreecommitdiff
path: root/src/testdir/test_functions.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-11 14:28:11 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-11 14:28:11 +0200
commitaab9fada4a9b9725ff42dffe9c7daff20f0fd85f (patch)
treed2c3d88b28befcefbfd4c44f3d49395dd99c41c3 /src/testdir/test_functions.vim
parentef16c90423ae579927e6294c1ccfd17c5a1c113c (diff)
downloadvim-git-aab9fada4a9b9725ff42dffe9c7daff20f0fd85f.tar.gz
patch 8.2.1832: readdirex() error is displayed as a messagev8.2.1832
Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan) Solution: Use semsg() instead of smsg().
Diffstat (limited to 'src/testdir/test_functions.vim')
-rw-r--r--src/testdir/test_functions.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim
index b81612548..e8c372cd2 100644
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -1959,6 +1959,8 @@ func Test_readdirex()
\ ['bar.txt_file', 'dir_dir', 'foo.txt_file', 'link_link'])
endif
eval 'Xdir'->delete('rf')
+
+ call assert_fails('call readdirex("doesnotexist")', 'E484:')
endfunc
func Test_readdirex_sort()