Skip to content

Commit f06b197

Browse files
committed
added test for issue #716
1 parent 4854438 commit f06b197

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3264,6 +3264,11 @@ public void testNotNotIssue() throws JSQLParserException {
32643264
assertSqlCanBeParsedAndDeparsed("SELECT VALUE1, VALUE2 FROM FOO WHERE NOT BAR LIKE '*%'");
32653265
}
32663266

3267+
@Test
3268+
public void testTrueFalseLiteral() throws JSQLParserException {
3269+
assertSqlCanBeParsedAndDeparsed("SELECT * FROM tbl WHERE true OR clm1 = 3");
3270+
}
3271+
32673272
@Test
32683273
public void testRawStringExpressionIssue656() throws JSQLParserException {
32693274
for (String c : new String[]{"u", "e", "n", "r", "b", "rb"}) {

0 commit comments

Comments
 (0)