This commit is contained in:
zyyang 2021-01-26 15:26:40 +08:00
parent b9da747d2d
commit ecd22634ef
1 changed files with 26 additions and 30 deletions

View File

@ -67,8 +67,7 @@ public class StatementTest {
}
@Test(expected = SQLException.class)
public void testUnsupport() {
try {
public void testUnsupport() throws SQLException {
Assert.assertNotNull(statement.unwrap(TSDBStatement.class));
Assert.assertTrue(statement.isWrapperFor(TSDBStatement.class));
@ -95,9 +94,6 @@ public class StatementTest {
statement.isPoolable();
statement.closeOnCompletion();
statement.isCloseOnCompletion();
} catch (SQLException e) {
e.printStackTrace();
}
}
@AfterClass