Merge pull request #43625 from izeye
* pr/43625: Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds() Closes gh-43625
This commit is contained in:
commit
ed554c5a68
@ -56,11 +56,6 @@ class MavenBuildOutputTimestampTests {
|
|||||||
assertThat(parse("2011-12-03T10:15:30.123Z")).isEqualTo(Instant.parse("2011-12-03T10:15:30.123Z"));
|
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
|
@Test
|
||||||
void shouldFailIfIso8601BeforeMin() {
|
void shouldFailIfIso8601BeforeMin() {
|
||||||
assertThatIllegalArgumentException().isThrownBy(() -> parse("1970-01-01T00:00:00Z"))
|
assertThatIllegalArgumentException().isThrownBy(() -> parse("1970-01-01T00:00:00Z"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user