Skip to content

Commit 96808d2

Browse files
test: commit missing test
1 parent ed17f87 commit 96808d2

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,18 @@
88
class FetchTest {
99
@Test
1010
void testParser() throws JSQLParserException {
11-
String sqlStr = "SELECT table_schema \n" +
12-
"FROM information_schema.tables \n" +
13-
"fetch next :variable rows only";
11+
String sqlStr = "SELECT table_schema \n" + "FROM information_schema.tables \n"
12+
+ "fetch next :variable rows only";
1413
TestUtils.assertSqlCanBeParsedAndDeparsed(sqlStr, true);
1514
}
1615

1716
@Test
1817
void getExpression() throws JSQLParserException {
19-
String sqlStr = "SELECT table_schema \n" +
20-
"FROM information_schema.tables \n" +
21-
"fetch next (SELECT 1 FROM DUAL) rows only";
18+
String sqlStr = "SELECT table_schema \n" + "FROM information_schema.tables \n"
19+
+ "fetch next (SELECT 1 FROM DUAL) rows only";
2220
Select select = (Select) TestUtils.assertSqlCanBeParsedAndDeparsed(sqlStr, true);
2321
PlainSelect plainSelect = (PlainSelect) select.getSelectBody();
2422
Fetch fetch = plainSelect.getFetch();
25-
Assertions.assertInstanceOf( SubSelect.class, fetch.getExpression());
23+
Assertions.assertInstanceOf(SubSelect.class, fetch.getExpression());
2624
}
27-
}
25+
}

0 commit comments

Comments
 (0)