diff --git a/src/test/java/com/ethlo/time/CorrectnessTest.java b/src/test/java/com/ethlo/time/CorrectnessTest.java index 4962a9c..d04a052 100644 --- a/src/test/java/com/ethlo/time/CorrectnessTest.java +++ b/src/test/java/com/ethlo/time/CorrectnessTest.java @@ -470,4 +470,10 @@ void testTemporalAccessorNanos() assertThat(parsed.getLong(ChronoField.NANO_OF_SECOND)).isEqualTo(987654321); } + + @Test + void testParseLeapSecondWhenNoTimeOffsetPresent() + { + ITU.parseLenient("3011-10-02T22:00:60.003"); + } }