mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
521e45f2a8
commit
66922d89cc
@ -9,9 +9,9 @@ func MySort(up, one, two)
|
||||
return 0
|
||||
endif
|
||||
if a:up
|
||||
return a:one > a:two
|
||||
return a:one > a:two ? 1 : -1
|
||||
endif
|
||||
return a:one < a:two
|
||||
return a:one < a:two ? 1 : -1
|
||||
endfunc
|
||||
|
||||
func Test_partial_args()
|
||||
|
@ -879,7 +879,7 @@ static int included_patches[] = {
|
||||
// 1566 NA
|
||||
1565,
|
||||
// 1564,
|
||||
// 1563,
|
||||
1563,
|
||||
// 1562 NA
|
||||
// 1561 NA
|
||||
// 1560 NA
|
||||
|
Loading…
Reference in New Issue
Block a user