Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
chore: fixed test assertion (#326)
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Ball <emilyball@google.com>
  • Loading branch information
dangazineu and eaball35 committed Jan 19, 2022
1 parent cb2accd commit e37fbee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ public void instantiateWithCustomVerbs() {
PathTemplate template = PathTemplate.create("/v1/{name=operations/**}:cancel");
String templateInstance = template.instantiate("name", "operations/3373707");
Truth.assertThat(templateInstance).isEqualTo("v1/operations/3373707:cancel");
Truth.assertThat(template.matches(templateInstance));
Truth.assertThat(template.matches(templateInstance)).isTrue();
}

// Other
Expand Down

0 comments on commit e37fbee

Please sign in to comment.