Skip to content

Commit 06b60b9

Browse files
committed
test: Update GsonTypeMapperTest for microsecond precision
1 parent b59eef2 commit 06b60b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/com/retailsvc/http/GsonTypeMapperTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void noArgConstructorRoundTripsInstantAsIso8601() {
2020
byte[] out = mapper.writeTo(Map.of("ts", Instant.parse("2026-05-13T10:00:00Z")));
2121

2222
assertThat(new String(out, StandardCharsets.UTF_8))
23-
.isEqualTo("{\"ts\":\"2026-05-13T10:00:00Z\"}");
23+
.isEqualTo("{\"ts\":\"2026-05-13T10:00:00.000000Z\"}");
2424
}
2525

2626
@Test

0 commit comments

Comments
 (0)