Skip to content

Commit

Permalink
chore: ApiVersion.toString test
Browse files Browse the repository at this point in the history
  • Loading branch information
burkedavison committed Sep 26, 2023
1 parent ac3dd3d commit 3f194ba
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,10 @@ public void testRecommendation_doesNotAllowEmptyInput() {
assertThrows(
IllegalArgumentException.class, () -> ApiVersion.getRecommended(Collections.emptyList()));
}

@Test
public void testToString() {
assertThat(parse("v1").toString()).isEqualTo("v1");
assertThat(parse("v1p0").toString()).isEqualTo("v1p0");
}
}

0 comments on commit 3f194ba

Please sign in to comment.