From f8ee1b3200b95a511233053a7cc5715f11f60f14 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Tue, 29 Oct 2024 20:05:42 -0400 Subject: [PATCH] Added more tests --- re_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re_test.go b/re_test.go index 804fd8c..ee71038 100644 --- a/re_test.go +++ b/re_test.go @@ -71,7 +71,7 @@ var reTests = []struct { {`\w`, ";';';';';'qwe12", []matchIndex{{10, 11}, {11, 12}, {12, 13}, {13, 14}, {14, 15}}}, {`\s`, "a b c d", []matchIndex{{1, 2}, {3, 4}, {5, 6}, {6, 7}}}, {`\<`, "", []matchIndex{{0, 1}, {6, 7}}}, - {`\(.+\)`, "Not (paranthesized), (so) is (this) not", []matchIndex{{4, 18}, {21, 24}, {29, 34}}}, + {`\(.+\)`, "Not (paranthesized), (so) is (this) not", []matchIndex{{4, 35}}}, } func TestFindAllMatches(t *testing.T) {