mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.1593: tests do not check the error number properly
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
This commit is contained in:
@@ -2025,7 +2025,7 @@ func Test_readdir_sort()
|
||||
exe "lang collate" collate
|
||||
|
||||
" 5) Errors
|
||||
call assert_fails('call readdir(dir, 1, 1)', 'E715')
|
||||
call assert_fails('call readdir(dir, 1, 1)', 'E715:')
|
||||
call assert_fails('call readdir(dir, 1, #{sorta: 1})')
|
||||
call assert_fails('call readdirex(dir, 1, #{sorta: 1})')
|
||||
|
||||
|
Reference in New Issue
Block a user