diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-01-23 12:17:40 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-01-23 12:19:32 +0900 |
commit | 2a8b65e105ec1a1a9d4cecf947b7267f04453b7c (patch) | |
tree | b78306a81bf6bf33c4b6e2f8dcf7ca0044d6b682 /src/result_test.go | |
parent | 62a916bc24ce519a414c617737286ae034c1b8e2 (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.go | 2 |
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{ |