mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1153: Vim9: script test fails on some systems
Problem: Vim9: script test fails on some systems. Solution: Return proper value from Compare().
This commit is contained in:
@@ -986,7 +986,7 @@ def Test_vim9script_funcref()
|
|||||||
let sortlines =<< trim END
|
let sortlines =<< trim END
|
||||||
vim9script
|
vim9script
|
||||||
def Compare(i1: number, i2: number): number
|
def Compare(i1: number, i2: number): number
|
||||||
return 1
|
return i2 - i1
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
export def FastSort(): list<number>
|
export def FastSort(): list<number>
|
||||||
|
@@ -754,6 +754,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 */
|
||||||
|
/**/
|
||||||
|
1153,
|
||||||
/**/
|
/**/
|
||||||
1152,
|
1152,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user