Skip to content

Commit e889cf3

Browse files
committed
added another testcase for #154
1 parent 001d665 commit e889cf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/net/sf/jsqlparser/test/select/SelectTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,4 +1787,8 @@ public void testRowConstructor2() throws JSQLParserException {
17871787
public void testIssue154() throws JSQLParserException {
17881788
assertSqlCanBeParsedAndDeparsed("SELECT d.id, d.uuid, d.name, d.amount, d.percentage, d.modified_time FROM discount d LEFT OUTER JOIN discount_category dc ON d.id = dc.discount_id WHERE merchant_id = ? AND deleted = ? AND dc.discount_id IS NULL AND modified_time < ? AND modified_time >= ? ORDER BY modified_time");
17891789
}
1790+
1791+
public void testIssue154_2() throws JSQLParserException {
1792+
assertSqlCanBeParsedAndDeparsed("SELECT r.id, r.uuid, r.name, r.system_role FROM role r WHERE r.merchant_id = ? AND r.deleted_time IS NULL ORDER BY r.id DESC");
1793+
}
17901794
}

0 commit comments

Comments
 (0)