Merge pull request #43625 from izeye

* pr/43625:
  Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds()

Closes gh-43625
This commit is contained in:
Stéphane Nicoll 2024-12-29 10:30:24 +01:00
commit ed554c5a68

View File

@ -56,11 +56,6 @@ class MavenBuildOutputTimestampTests {
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"))