mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-10 17:51:58 -07:00
[perf] evaluateBonus can start from sidx - 1
This commit is contained in:
@@ -3,7 +3,7 @@ package util
|
||||
import "testing"
|
||||
|
||||
func TestMax(t *testing.T) {
|
||||
if Max(-2, 5, 1, 4, 3) != 5 {
|
||||
if Max(-2, 5) != 5 {
|
||||
t.Error("Invalid result")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user