From 2a8b65e105ec1a1a9d4cecf947b7267f04453b7c Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 23 Jan 2024 12:17:40 +0900 Subject: Fix highlighting of regions that are matched multiple times Fix #3596 --- src/result_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/result_test.go') 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{ -- cgit v1.2.3