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
|
endfunc
|
||||||
|
|
||||||
func Test_blob_sort()
|
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
|
endfunc
|
||||||
|
@@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
184,
|
||||||
/**/
|
/**/
|
||||||
183,
|
183,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user