Skip to content

Commit d3d66f8

Browse files
committed
1 parent 3bc316d commit d3d66f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,4 +2195,8 @@ public void testTopExpressionIssue243() throws JSQLParserException {
21952195
public void testTopExpressionIssue243_2() throws JSQLParserException {
21962196
assertSqlCanBeParsedAndDeparsed("SELECT TOP (CAST(? AS INT)) * FROM MyTable");
21972197
}
2198+
2199+
public void testFunctionIssue284() throws JSQLParserException {
2200+
assertSqlCanBeParsedAndDeparsed("SELECT NVL((SELECT 1 FROM DUAL), 1) AS A FROM TEST1");
2201+
}
21982202
}

0 commit comments

Comments
 (0)