Skip to content

Commit 27139a0

Browse files
committed
fixes #489
1 parent 74e0226 commit 27139a0

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
@@ -3758,4 +3758,9 @@ public void testArrayIssue648() throws JSQLParserException {
37583758
public void testArrayIssue638() throws JSQLParserException {
37593759
assertSqlCanBeParsedAndDeparsed("SELECT PAYLOAD[0] FROM MYTABLE");
37603760
}
3761+
3762+
@Test
3763+
public void testArrayIssue489() throws JSQLParserException {
3764+
assertSqlCanBeParsedAndDeparsed("SELECT name[1] FROM MYTABLE");
3765+
}
37613766
}

0 commit comments

Comments
 (0)