Skip to content

Commit

Permalink
Fix typo Scotty noticed in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson Gross committed Feb 18, 2012
1 parent b3fb0e0 commit d31592d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tosa-loader/src/tosa/loader/parser/DDLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private CreateTableStatement parseCreate() {
}

if (!foundId) {
createTableStatement.addParseError(new SQLParseError(tableName, "No id column was found on the table " + tableNameStr + ". Every table in Tosa should have a table named \"id\" of type BIGINT."));
createTableStatement.addParseError(new SQLParseError(tableName, "No id column was found on the table " + tableNameStr + ". Every table in Tosa should have a column named \"id\" of type BIGINT."));
}

return createTableStatement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void testValidateReportsErrorForTableWithoutIdColumn() {
");");

assertEquals(1, validationResult.size());
assertEquals("No id column was found on the table Bar. Every table in Tosa should have a table named \"id\" of type BIGINT.", validationResult.get(0).getMessage());
assertEquals("No id column was found on the table Bar. Every table in Tosa should have a column named \"id\" of type BIGINT.", validationResult.get(0).getMessage());
}

@Test
Expand Down

0 comments on commit d31592d

Please sign in to comment.