diff options
Diffstat (limited to 'src/testdir/test_blob.vim')
-rw-r--r-- | src/testdir/test_blob.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_blob.vim b/src/testdir/test_blob.vim index 47c09e79f9..79fdf44465 100644 --- a/src/testdir/test_blob.vim +++ b/src/testdir/test_blob.vim @@ -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 |