Skip to content

Commit

Permalink
corrected a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Jul 30, 2014
1 parent fc0ba6a commit 24dc08d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public void testLimit() throws JSQLParserException {
statement = "SELECT * FROM mytable WHERE mytable.col = 9 OFFSET ?";
select = (Select) parserManager.parse(new StringReader(statement));

assertEquals(0, ((PlainSelect) select.getSelectBody()).getLimit().getRowCount());
assertEquals(-1, ((PlainSelect) select.getSelectBody()).getLimit().getRowCount());
assertTrue(((PlainSelect) select.getSelectBody()).getLimit().isOffsetJdbcParameter());
assertFalse(((PlainSelect) select.getSelectBody()).getLimit().isLimitAll());
assertStatementCanBeDeparsedAs(select, statement);
Expand Down

0 comments on commit 24dc08d

Please sign in to comment.