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:
@@ -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
|
||||
|
Reference in New Issue
Block a user