Skip to content

Commit ba3bf22

Browse files
committed
strange not problem
1 parent 82b287d commit ba3bf22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3314,6 +3314,16 @@ public void testTopKeyWord3() throws JSQLParserException {
33143314
assertSqlCanBeParsedAndDeparsed("SELECT * FROM mytable top");
33153315
}
33163316

3317+
@Test
3318+
public void testNotProblem1() throws JSQLParserException {
3319+
assertSqlCanBeParsedAndDeparsed("select * from col where not v in (1,2,3,4,5,6,7)");
3320+
}
3321+
3322+
@Test
3323+
public void testNotProblem2() throws JSQLParserException {
3324+
assertSqlCanBeParsedAndDeparsed("select * from col where not func(5)");
3325+
}
3326+
33173327
@Test
33183328
public void testRawStringExpressionIssue656() throws JSQLParserException {
33193329
for (String c : new String[]{"u", "e", "n", "r", "b", "rb"}) {

0 commit comments

Comments
 (0)