Skip to content

Commit

Permalink
strange not problem
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Feb 3, 2019
1 parent 82b287d commit ba3bf22
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3314,6 +3314,16 @@ public void testTopKeyWord3() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("SELECT * FROM mytable top");
}

@Test
public void testNotProblem1() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("select * from col where not v in (1,2,3,4,5,6,7)");
}

@Test
public void testNotProblem2() throws JSQLParserException {
assertSqlCanBeParsedAndDeparsed("select * from col where not func(5)");
}

@Test
public void testRawStringExpressionIssue656() throws JSQLParserException {
for (String c : new String[]{"u", "e", "n", "r", "b", "rb"}) {
Expand Down

0 comments on commit ba3bf22

Please sign in to comment.