Fixed mistake in test output

remotes/origin/implementPCREMatchingRules
Aadhavan Srinivasan 1 month ago
parent 1fd48ae614
commit e167cdb2cb

@ -701,7 +701,7 @@ func TestFind(t *testing.T) {
if len(test.result) == 0 { if len(test.result) == 0 {
return // Manually pass the test, because this is the expected behavior return // Manually pass the test, because this is the expected behavior
} else { } else {
t.Errorf("Wanted no match Got %v\n", groupIndex) t.Errorf("Wanted %v Got no matches\n", test.result)
} }
} else { } else {
if groupIndex != test.result[0] { if groupIndex != test.result[0] {

Loading…
Cancel
Save