Skip to content

Commit 0f6acc2

Browse files
committed
Merge origin/master
2 parents 37c8313 + 0164bff commit 0f6acc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,7 @@ public void testTopExpressionIssue243_2() throws JSQLParserException {
21962196
assertSqlCanBeParsedAndDeparsed("SELECT TOP (CAST(? AS INT)) * FROM MyTable");
21972197
}
21982198

2199-
public void testKeywordTop() throws JSQLParserException {
2200-
assertSqlCanBeParsedAndDeparsed("SELECT @top");
2199+
public void testFunctionIssue284() throws JSQLParserException {
2200+
assertSqlCanBeParsedAndDeparsed("SELECT NVL((SELECT 1 FROM DUAL), 1) AS A FROM TEST1");
22012201
}
22022202
}

0 commit comments

Comments
 (0)