mirror of
https://github.com/neovim/neovim.git
synced 2025-09-09 04:48:18 +00:00
vim-patch:7.4.1563
Problem: Partial test fails on windows.
Solution: Return 1 or -1 from compare function.
790500a8e6
This commit is contained in:

committed by
James McCoy

parent
521e45f2a8
commit
66922d89cc
@@ -9,9 +9,9 @@ func MySort(up, one, two)
|
|||||||
return 0
|
return 0
|
||||||
endif
|
endif
|
||||||
if a:up
|
if a:up
|
||||||
return a:one > a:two
|
return a:one > a:two ? 1 : -1
|
||||||
endif
|
endif
|
||||||
return a:one < a:two
|
return a:one < a:two ? 1 : -1
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_partial_args()
|
func Test_partial_args()
|
||||||
|
@@ -879,7 +879,7 @@ static int included_patches[] = {
|
|||||||
// 1566 NA
|
// 1566 NA
|
||||||
1565,
|
1565,
|
||||||
// 1564,
|
// 1564,
|
||||||
// 1563,
|
1563,
|
||||||
// 1562 NA
|
// 1562 NA
|
||||||
// 1561 NA
|
// 1561 NA
|
||||||
// 1560 NA
|
// 1560 NA
|
||||||
|
Reference in New Issue
Block a user