提交 ecd22634 编写于 作者: Z zyyang

change

上级 b9da747d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册