Index: src/interfaces/jdbc/org/postgresql/test/jdbc2/DriverTest.java =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/interfaces/jdbc/org/postgresql/test/jdbc2/DriverTest.java,v retrieving revision 1.5 diff -c -r1.5 DriverTest.java *** src/interfaces/jdbc/org/postgresql/test/jdbc2/DriverTest.java 14 Aug 2002 20:35:40 -0000 1.5 --- src/interfaces/jdbc/org/postgresql/test/jdbc2/DriverTest.java 3 Nov 2003 10:42:18 -0000 *************** *** 37,46 **** --- 37,48 ---- assertTrue(drv.acceptsURL("jdbc:postgresql://localhost:5432/test")); assertTrue(drv.acceptsURL("jdbc:postgresql://127.0.0.1/anydbname")); assertTrue(drv.acceptsURL("jdbc:postgresql://127.0.0.1:5433/hidden")); + assertTrue(drv.acceptsURL("jdbc:postgresql://[::1]:5740/db")); // Badly formatted url's assertTrue(!drv.acceptsURL("jdbc:postgres:test")); assertTrue(!drv.acceptsURL("postgresql:test")); + assertTrue(!drv.acceptsURL("db")); } catch (SQLException ex)