mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
ef76238548
commit
53f28f024c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user