summaryrefslogtreecommitdiffstats
path: root/src/result_test.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-01-23 12:17:40 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-01-23 12:19:32 +0900
commit2a8b65e105ec1a1a9d4cecf947b7267f04453b7c (patch)
treeb78306a81bf6bf33c4b6e2f8dcf7ca0044d6b682 /src/result_test.go
parent62a916bc24ce519a414c617737286ae034c1b8e2 (diff)
Fix highlighting of regions that are matched multiple times
Fix #3596
Diffstat (limited to 'src/result_test.go')
-rw-r--r--src/result_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/result_test.go b/src/result_test.go
index a930447a..2f818a9b 100644
--- a/src/result_test.go
+++ b/src/result_test.go
@@ -120,7 +120,7 @@ func TestColorOffset(t *testing.T) {
// ++++++++ ++++++++++
// --++++++++-- --++++++++++---
- offsets := []Offset{{5, 15}, {25, 35}}
+ offsets := []Offset{{5, 15}, {10, 12}, {25, 35}}
item := Result{
item: &Item{
colors: &[]ansiOffset{