Permalink
Browse files

tests: correct assertion to use proper column

  • Loading branch information...
vlsi committed Jan 2, 2018
1 parent 082d009 commit 63918eb9b1211e0115c8b55401e22c7a3f37e534
Showing with 2 additions and 2 deletions.
  1. +2 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimezoneTest.java
@@ -191,8 +191,8 @@ public void testGetTimestamp() throws Exception {
ts = rs.getTimestamp(4, cGMT13);
// 1970-01-01 15:00:00 +0300 -> 1970-01-02 01:00:00 +1300 (CHECK ME)
assertEquals(-43200000L, ts.getTime());
str = rs.getString(3);
assertEquals("timetz -> getString" + format, "15:00:00", str);
str = rs.getString(4);
assertEquals("timetz -> getString" + format, "15:00:00+03", str);
// date: 2005-01-01
ts = rs.getTimestamp(5);

0 comments on commit 63918eb

Please sign in to comment.