Skip to content

Commit

Permalink
tools/importer-rest-api-specs: updating the resource id parsing tests
Browse files Browse the repository at this point in the history
This'll help enable using the new Data API SDK models
  • Loading branch information
tombuildsstuff committed Feb 19, 2024
1 parent 344c1c2 commit 9ee1b2d
Show file tree
Hide file tree
Showing 2 changed files with 597 additions and 1,342 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func validateParsedResourceIDSegmentsMatch(t *testing.T, expected, actual resour
t.Errorf("expected `Name` to be %q but got %q for %s", expected.Name, actual.Name, segmentName)
}
if string(expected.Type) != string(actual.Type) {
t.Errorf("expected `Type` to be %q but got %q for %s", string(expected.Type), string(expected.Type), segmentName)
t.Errorf("expected `Type` to be %q but got %q for %s", string(expected.Type), string(actual.Type), segmentName)
}
}

Expand Down
Loading

0 comments on commit 9ee1b2d

Please sign in to comment.