vim-patch:8.2.0184: blob test fails

Problem:    Blob test fails.
Solution:   Check for different error when float feature is missing.
92be6e3f46

Nvim always has the float feature, but include the changes to the test
anyway.
This commit is contained in:
Sean Dewar 2021-07-29 21:30:01 +01:00
parent ef76238548
commit 53f28f024c
No known key found for this signature in database
GPG Key ID: 08CC2C83AD41B581

View File

@ -319,7 +319,11 @@ func Test_blob_lock()
endfunc
func Test_blob_sort()
call assert_fails('call sort([1.0, 0z11], "f")', 'E975:')
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
" vim: shiftwidth=2 sts=2 expandtab