Skip to content

Commit

Permalink
remove system.out
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Nov 20, 2012
1 parent 9d5326d commit 155b5ef
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -47,8 +47,7 @@ public void exportTableInAnotherSchemaOnH2() throws Exception {
export.setNoCreateInfo(false);
export.setNoData(false);

String output = export.exportTables(new String[] { "TEST" }).toLowerCase();
System.out.println(output);
export.exportTables(new String[] { "TEST" }).toLowerCase();
// TODO validate
}
}
Expand All @@ -71,8 +70,8 @@ public void exportTestDatabaseSQL() throws Exception {
export.setCompatible(Compatible.H2);
String output = export.exportTables(tables).toLowerCase();

Assert.assertEquals(output, 32, StringUtils.countMatches(output, "create table \"sym_"));
Assert.assertEquals(30,
Assert.assertEquals(output, 33, StringUtils.countMatches(output, "create table \"sym_"));
Assert.assertEquals(31,
StringUtils.countMatches(output, "varchar(" + Integer.MAX_VALUE + ")"));
}

Expand Down

0 comments on commit 155b5ef

Please sign in to comment.