Updated call to 'isValid' with call to 'IsValid'
This commit is contained in:
@@ -779,7 +779,7 @@ func TestFindAllSubmatch(t *testing.T) {
|
||||
matchIndices := regComp.FindAllSubmatch(test.str)
|
||||
for i := range matchIndices {
|
||||
for j := range matchIndices[i] {
|
||||
if matchIndices[i][j].isValid() {
|
||||
if matchIndices[i][j].IsValid() {
|
||||
if test.result[i][j] != matchIndices[i][j] {
|
||||
t.Errorf("Wanted %v Got %v\n", test.result, matchIndices)
|
||||
}
|
||||
|
Reference in New Issue
Block a user