Skip to content
Permalink
Browse files

test: make tests independent from server LC_MESSAGES (#554)

  • Loading branch information
chrullrich authored and vlsi committed May 10, 2016
1 parent 07f8610 commit b756a1507f06686540b56b3a29186841ea741bad
Showing with 2 additions and 2 deletions.
  1. +2 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc2/GeometricTest.java
@@ -125,9 +125,9 @@ public void testPGline() throws Exception {
if (roundTripToDatabase) {
try {
checkReadWrite(new PGline(), columnName);
fail("Expected a PGSQLException to be thrown");
fail("Expected a PSQLException to be thrown");
} catch (PSQLException e) {
assertTrue(e.getMessage().contains("A and B cannot both be zero"));
assertEquals("22P02", e.getSQLState());
}
}

0 comments on commit b756a15

Please sign in to comment.
You can’t perform that action at this time.