Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds()

See gh-43625
This commit is contained in:
Johnny Lim
2024-12-29 10:39:34 +09:00
committed by Stéphane Nicoll
parent 8fbd14b4dd
commit b8abfb8c9b

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"))