You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2007/09/27 02:01:42 UTC

svn commit: r579853 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java

Author: myrnavl
Date: Wed Sep 26 17:01:41 2007
New Revision: 579853

URL: http://svn.apache.org/viewvc?rev=579853&view=rev
Log:
DERBY-3082 - (afterthought) in case there ever really is a mismatch, would be nice to get the output and expected format printed out with the assert.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java?rev=579853&r1=579852&r2=579853&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java Wed Sep 26 17:01:41 2007
@@ -2911,7 +2911,8 @@
     {
         assertStringPrefix(conn);
         String str = conn.toString(); 
-        assertTrue(str.matches(CONNSTRING_FORMAT));
+        assertTrue("\nexpected format:\n " + CONNSTRING_FORMAT + "\nactual value:\n " + str,
+            str.matches(CONNSTRING_FORMAT));
     }
 
     /**