changeset 19251:158d4eeba201 v8.2.0184

patch 8.2.0184: blob test fails Commit: https://github.com/vim/vim/commit/92be6e3f46120bb8e6c8fca0a7868a08df8b3345 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 30 19:39:04 2020 +0100 patch 8.2.0184: blob test fails Problem: Blob test fails. Solution: Check for different error when float feature is missing.
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jan 2020 19:45:03 +0100
parents 560502896a6c
children 2f4b2122c7d1
files src/testdir/test_blob.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    184,
+/**/
     183,
 /**/
     182,