Fixed mistake in test output
This commit is contained in:
@@ -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] {
|
||||
|
Reference in New Issue
Block a user