diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-30 19:39:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-30 19:39:04 +0100 |
commit | 92be6e3f46120bb8e6c8fca0a7868a08df8b3345 (patch) | |
tree | 85aedf2f292debc8069ac5eebbff41df97e02443 /src/testdir/test_blob.vim | |
parent | 5feabe00c47fa66d5f4c95213f150488433f78e3 (diff) | |
download | vim-git-92be6e3f46120bb8e6c8fca0a7868a08df8b3345.tar.gz |
patch 8.2.0184: blob test failsv8.2.0184
Problem: Blob test fails.
Solution: Check for different error when float feature is missing.
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 47c09e79f..79fdf4446 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 |