Skip to content

Commit

Permalink
Update ImageNameTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Devashishbasu committed Jan 22, 2024
1 parent 1b17182 commit b28639c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ void testIllegalFormat() {
}
@Test
void shouldThrowExceptionOnTooLongImageName() {
assertThrows(IllegalArgumentException.class, () -> new ImageName(""));

// New test for too long repository name
String tooLongName = generateTooLongImageName();
assertThatIllegalArgumentException()
Expand Down

0 comments on commit b28639c

Please sign in to comment.