Skip to content

Commit

Permalink
0000852: Add the ability to define the "sync key" of a table versus u…
Browse files Browse the repository at this point in the history
…sing the actual primary key
  • Loading branch information
chenson42 committed Dec 11, 2012
1 parent a28950b commit 0ebc6ba
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -12,7 +12,6 @@
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.ObjectUtils;
import org.apache.commons.lang.StringUtils;
import org.jumpmind.db.DbTestUtils;
import org.jumpmind.db.model.Column;
import org.jumpmind.db.model.Database;
import org.jumpmind.db.model.Table;
Expand Down Expand Up @@ -132,7 +131,7 @@ public void exportTestDatabaseSQL() throws Exception {
String output = export.exportTables(tables).toLowerCase();

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

Expand Down

0 comments on commit 0ebc6ba

Please sign in to comment.