Skip to content

Commit 4f63b1c

Browse files
committed
1 parent 1b5d24d commit 4f63b1c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,4 +2780,12 @@ public void testParenthesisAroundFromItem2() throws JSQLParserException {
27802780
public void testParenthesisAroundFromItem3() throws JSQLParserException {
27812781
assertSqlCanBeParsedAndDeparsed("SELECT * FROM (mytable) myalias");
27822782
}
2783+
2784+
public void testJoinerExpressionIssue596() throws JSQLParserException {
2785+
assertSqlCanBeParsedAndDeparsed("SELECT * FROM a JOIN (b JOIN c ON b.id = c.id) ON a.id = c.id");
2786+
}
2787+
2788+
// public void testJoinerExpressionIssue596_2() throws JSQLParserException {
2789+
// assertSqlCanBeParsedAndDeparsed("SELECT * FROM a JOIN b JOIN c ON b.id = c.id ON a.id = c.id");
2790+
// }
27832791
}

0 commit comments

Comments
 (0)