From e167cdb2cbac9c48ced4370151ebe848e5196012 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Mon, 3 Feb 2025 16:49:30 -0500 Subject: [PATCH] Fixed mistake in test output --- regex/re_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/re_test.go b/regex/re_test.go index 8d24304..2cccc72 100644 --- a/regex/re_test.go +++ b/regex/re_test.go @@ -701,7 +701,7 @@ func TestFind(t *testing.T) { if len(test.result) == 0 { return // Manually pass the test, because this is the expected behavior } else { - t.Errorf("Wanted no match Got %v\n", groupIndex) + t.Errorf("Wanted %v Got no matches\n", test.result) } } else { if groupIndex != test.result[0] {