Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dheyman committed Mar 21, 2024
1 parent 1b843dc commit 58a803e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void setup() {
}

@Test
public void shouldGetTimestampForLtzType() {
public void shouldGetTimestampForDifferentType() {
// when
Timestamp resultLtz =
getFromType(SnowflakeUtil.EXTRA_TYPES_TIMESTAMP_LTZ, TIMESTAMP_IN_FORMAT_1, null);
Expand All @@ -42,8 +42,11 @@ public void shouldGetTimestampForLtzType() {
TimeZone.getTimeZone("EST"));

assertEquals(EXPECTED_TIMESTAMP, resultLtz);
System.out.println("LTZ = " + resultLtz);
assertEquals(EXPECTED_TIMESTAMP, resultTz);
System.out.println("TZ = " + resultLtz);
assertEquals(EXPECTED_TIMESTAMP, resultNtz);
System.out.println("NTZ = " + resultLtz);
}

private Timestamp getFromType(int type, String value, TimeZone explicitTimezone) {
Expand Down

0 comments on commit 58a803e

Please sign in to comment.