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] {