We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c77c95 commit ca34c0aCopy full SHA for ca34c0a
core/common/test/InstantTest.kt
@@ -86,7 +86,8 @@ class InstantTest {
86
assertEquals(seconds.toLong() * 1000 + nanos / 1000000, instant.toEpochMilliseconds())
87
}
88
89
- // TODO: assertInvalidFormat { Instant.parse("1970-01-01T23:59:60Z")} // fails on Native
+ assertInvalidFormat { Instant.parse("1970-01-01T23:59:60Z")}
90
+ assertInvalidFormat { Instant.parse("1970-01-01T24:00:00Z")}
91
assertInvalidFormat { Instant.parse("x") }
92
assertInvalidFormat { Instant.parse("12020-12-31T23:59:59.000000000Z") }
93
// this string represents an Instant that is currently larger than Instant.MAX any of the implementations:
0 commit comments