0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.2.1832: readdirex() error is displayed as a message

Problem:    readdirex() error is displayed as a message. (Yegappan Lakshmanan)
Solution:   Use semsg() instead of smsg().
This commit is contained in:
Bram Moolenaar
2020-10-11 14:28:11 +02:00
parent ef16c90423
commit aab9fada4a
3 changed files with 6 additions and 2 deletions

View File

@@ -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()