Skip to content

Commit b392733

Browse files
committed
integrated test for #1595
1 parent 09830c9 commit b392733

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,12 @@ public void testBrackets2() throws JSQLParserException {
18881888
assertSqlCanBeParsedAndDeparsed(stmt, false,
18891889
parser -> parser.withSquareBracketQuotation(true));
18901890
}
1891+
1892+
@Test
1893+
public void testIssue1595() throws JSQLParserException {
1894+
assertSqlCanBeParsedAndDeparsed("SELECT [id] FROM [guest].[12tableName]", false,
1895+
parser -> parser.withSquareBracketQuotation(true));
1896+
}
18911897

18921898
@Test
18931899
public void testBrackets3() throws JSQLParserException {

0 commit comments

Comments
 (0)