提交 452cbd69 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Remove incorrect import

上级 6b9c3623
...@@ -39,7 +39,6 @@ import org.h2.jdbc.JdbcConnection; ...@@ -39,7 +39,6 @@ import org.h2.jdbc.JdbcConnection;
import org.h2.test.TestBase; import org.h2.test.TestBase;
import org.h2.test.TestDb; import org.h2.test.TestDb;
import org.h2.util.IOUtils; import org.h2.util.IOUtils;
import org.junit.Assert;
import org.w3c.dom.Node; import org.w3c.dom.Node;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
...@@ -166,11 +165,11 @@ public class TestSQLXML extends TestDb { ...@@ -166,11 +165,11 @@ public class TestSQLXML extends TestDb {
assertThrows(ErrorCode.FEATURE_NOT_SUPPORTED_1, sqlxml).setResult(Result.class); assertThrows(ErrorCode.FEATURE_NOT_SUPPORTED_1, sqlxml).setResult(Result.class);
} }
private static void assertXML(String actual) { private void assertXML(String actual) {
if (actual.startsWith("<?")) { if (actual.startsWith("<?")) {
actual = actual.substring(actual.indexOf("?>") + 2); actual = actual.substring(actual.indexOf("?>") + 2);
} }
Assert.assertEquals(XML, actual); assertEquals(XML, actual);
} }
void testSettersImpl(SQLXML sqlxml) throws SQLException { void testSettersImpl(SQLXML sqlxml) throws SQLException {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论