diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-07-29 21:30:01 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-15 22:57:53 +0100 |
commit | 53f28f024c90399106aac5c006e4fd0dd605b564 (patch) | |
tree | 1a8aa044bbbd1509839a7af9da0be10977536610 | |
parent | ef76238548ba758cb15b5316710b356b59334a41 (diff) | |
download | rneovim-53f28f024c90399106aac5c006e4fd0dd605b564.tar.gz rneovim-53f28f024c90399106aac5c006e4fd0dd605b564.tar.bz2 rneovim-53f28f024c90399106aac5c006e4fd0dd605b564.zip |
vim-patch:8.2.0184: blob test fails
Problem: Blob test fails.
Solution: Check for different error when float feature is missing.
https://github.com/vim/vim/commit/92be6e3f46120bb8e6c8fca0a7868a08df8b3345
Nvim always has the float feature, but include the changes to the test
anyway.
-rw-r--r-- | src/nvim/testdir/test_blob.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_blob.vim b/src/nvim/testdir/test_blob.vim index a74dd538e5..19f1f6bd42 100644 --- a/src/nvim/testdir/test_blob.vim +++ b/src/nvim/testdir/test_blob.vim @@ -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 |