Skip to content

Commit

Permalink
split test
Browse files Browse the repository at this point in the history
  • Loading branch information
gene-db committed Jan 7, 2025
1 parent c5d19e6 commit 0086b34
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ public void testTruncateTrailingZeroDecimal() {

@Test
public void testTruncateTrailingZeroTimestamp() {
// timestamp
for (String[] strings : Arrays.asList(
// truncate all trailing zeros
new String[] {"2024-12-16T10:23:45.000000-08:00", "2024-12-16T10:23:45-08:00"},
Expand All @@ -467,8 +466,10 @@ public void testTruncateTrailingZeroTimestamp() {
Assert.assertEquals(String.format("\"%s\"", strings[0]), v.toJson(ZoneId.of("-08:00")));
Assert.assertEquals(String.format("\"%s\"", strings[1]), v.toJson(ZoneId.of("-08:00"), true));
}
}

// timestampNTZ
@Test
public void testTruncateTrailingZeroTimestampNtz() {
DateTimeFormatter dtf = DateTimeFormatter.ISO_DATE_TIME;
for (String[] strings : Arrays.asList(
// truncate all trailing zeros
Expand Down

0 comments on commit 0086b34

Please sign in to comment.