summaryrefslogtreecommitdiffstats
path: root/src/algo/algo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/algo/algo_test.go')
-rw-r--r--src/algo/algo_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/algo/algo_test.go b/src/algo/algo_test.go
index a7c4e1d3..b5ed0e77 100644
--- a/src/algo/algo_test.go
+++ b/src/algo/algo_test.go
@@ -9,6 +9,10 @@ import (
"github.com/junegunn/fzf/src/util"
)
+func init() {
+ Init("default")
+}
+
func assertMatch(t *testing.T, fun Algo, caseSensitive, forward bool, input, pattern string, sidx int, eidx int, score int) {
assertMatch2(t, fun, caseSensitive, false, forward, input, pattern, sidx, eidx, score)
}