db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r375778 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java
Date Tue, 07 Feb 2006 23:46:23 GMT
Author: tomdz
Date: Tue Feb  7 15:46:21 2006
New Revision: 375778

URL: http://svn.apache.org/viewcvs?rev=375778&view=rev
Log:
Changed assertion for the alter tables sql so that an assertion failure shows the generated
sql

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java?rev=375778&r1=375777&r2=375778&view=diff
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/io/TestDatatypes.java Tue Feb  7 15:46:21
2006
@@ -498,7 +498,8 @@
 
         String alterTablesSql = getAlterTablesSql(modelFromDb).trim();
 
-        assertTrue(alterTablesSql.length() == 0);
+        assertEquals("",
+        		     alterTablesSql);
     }
 
     /**



Mime
View raw message