Skip to content

Commit 5d9f4fd

Browse files
committed
issue #1134 adressed
1 parent c3a1aa6 commit 5d9f4fd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4475,4 +4475,9 @@ public void testArrayDeclare() throws JSQLParserException {
44754475
assertSqlCanBeParsedAndDeparsed("SELECT ARRAY[1, f1], ARRAY[[1, 2], [3, f2 + 1]], ARRAY[]::text[] FROM t1");
44764476
}
44774477

4478+
@Test
4479+
public void testColonDelimiterIssue1134() throws JSQLParserException {
4480+
Statement stmt = CCJSqlParserUtil.parse("SELECT * FROM stores_demo:informix.accounts");
4481+
assertEquals("SELECT * FROM stores_demo.informix.accounts", stmt.toString());
4482+
}
44784483
}

0 commit comments

Comments
 (0)