Updated call to 'isValid' with call to 'IsValid'

This commit is contained in:
2025-02-01 11:06:26 -05:00
parent b5e6bc112c
commit 783ae2ad10

View File

@@ -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)
}