Skip to content

Commit

Permalink
Merge pull request #43625 from izeye
Browse files Browse the repository at this point in the history
* pr/43625:
  Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds()

Closes gh-43625
  • Loading branch information
snicoll committed Dec 29, 2024
2 parents 8fbd14b + b8abfb8 commit ed554c5
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ void shouldParseIso8601WithMilliseconds() {
assertThat(parse("2011-12-03T10:15:30.123Z")).isEqualTo(Instant.parse("2011-12-03T10:15:30.123Z"));
}

@Test
void shouldParseIso8601WithSeconds() {
assertThat(parse("2011-12-03T10:15:30Z")).isEqualTo(Instant.parse("2011-12-03T10:15:30.000Z"));
}

@Test
void shouldFailIfIso8601BeforeMin() {
assertThatIllegalArgumentException().isThrownBy(() -> parse("1970-01-01T00:00:00Z"))
Expand Down

0 comments on commit ed554c5

Please sign in to comment.