summaryrefslogtreecommitdiff
path: root/src/pattern_test.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-02-06 19:56:40 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-02-06 19:57:39 +0900
commit62e0a2824a9ed2783fee54f53dd258a2bc3ed795 (patch)
tree83c14a09b9f24ec138835ac9536c0aada10e4505 /src/pattern_test.go
parentbbe1721a1883426f639c1efe6afef1d3e6c25181 (diff)
downloadfzf-62e0a2824a9ed2783fee54f53dd258a2bc3ed795.tar.gz
Fix nth highlighting
Fix #4222
Diffstat (limited to 'src/pattern_test.go')
-rw-r--r--src/pattern_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern_test.go b/src/pattern_test.go
index 0f0632cd..24b17744 100644
--- a/src/pattern_test.go
+++ b/src/pattern_test.go
@@ -68,7 +68,7 @@ func buildPattern(fuzzy bool, fuzzyAlgo algo.Algo, extended bool, caseMode Case,
withPos bool, cacheable bool, nth []Range, delimiter Delimiter, runes []rune) *Pattern {
return BuildPattern(NewChunkCache(), make(map[string]*Pattern),
fuzzy, fuzzyAlgo, extended, caseMode, normalize, forward,
- withPos, cacheable, nth, delimiter, 0, runes)
+ withPos, cacheable, nth, delimiter, revision{}, runes)
}
func TestExact(t *testing.T) {