Skip to content

Commit 5aa6304

Browse files
committed
1 parent 295c114 commit 5aa6304

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/test/java/net/sf/jsqlparser/parser/CCJSqlParserUtilTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,12 @@ public void testParseStatementsIssue691() throws Exception {
120120
+ "SELECT * FROM dual;\n"
121121
+ "SELECT * FROM dual;\n", result.toString());
122122
}
123+
124+
@Test
125+
public void testParseStatementsIssue691_2() throws Exception {
126+
Statements result = CCJSqlParserUtil.parseStatements(
127+
"select * from dual;\n"
128+
+ "---test");
129+
assertEquals("SELECT * FROM dual;\n", result.toString());
130+
}
123131
}

0 commit comments

Comments
 (0)