Skip to content

Commit 875f769

Browse files
committed
tested
1 parent 881e457 commit 875f769

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4341,4 +4341,19 @@ public void testKeywordSequenceIssue1075() throws JSQLParserException {
43414341
public void testKeywordSequenceIssue1074() throws JSQLParserException {
43424342
assertSqlCanBeParsedAndDeparsed("SELECT * FROM t_user WITH (NOLOCK)");
43434343
}
4344+
4345+
@Test
4346+
public void testContionItemsSelectedIssue1077() throws JSQLParserException {
4347+
assertSqlCanBeParsedAndDeparsed("SELECT 1 > 0");
4348+
}
4349+
4350+
@Test
4351+
public void testExistsKeywordIssue1076() throws JSQLParserException {
4352+
assertSqlCanBeParsedAndDeparsed("SELECT EXISTS (4)");
4353+
}
4354+
4355+
@Test
4356+
public void testExistsKeywordIssue1076_1() throws JSQLParserException {
4357+
assertSqlCanBeParsedAndDeparsed("SELECT EXISTS (SELECT mycol FROM mytable)");
4358+
}
43444359
}

0 commit comments

Comments
 (0)