0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.2.0184: blob test fails

Problem:    Blob test fails.
Solution:   Check for different error when float feature is missing.
This commit is contained in:
Bram Moolenaar
2020-01-30 19:39:04 +01:00
parent 5feabe00c4
commit 92be6e3f46
2 changed files with 7 additions and 1 deletions

View File

@@ -324,5 +324,9 @@ func Test_blob_lock()
endfunc
func Test_blob_sort()
call assert_fails('call sort(["abc", 0z11], "f")', 'E702:')
if has('float')
call assert_fails('call sort([1.0, 0z11], "f")', 'E975:')
else
call assert_fails('call sort(["abc", 0z11], "f")', 'E702:')
endif
endfunc