提交 37bdcd66 编写于 作者: Z zyyang

change

上级 868fbdae
package com.taosdata.jdbc.cases; package com.taosdata.jdbc.cases;
import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
import java.sql.DriverManager; import java.sql.DriverManager;
...@@ -16,7 +17,7 @@ public class ConnectWrongDatabaseTest { ...@@ -16,7 +17,7 @@ public class ConnectWrongDatabaseTest {
e.printStackTrace(); e.printStackTrace();
} catch (SQLException e) { } catch (SQLException e) {
System.out.println(e.getMessage()); System.out.println(e.getMessage());
// e.printStackTrace(); Assert.assertEquals("TDengine Error: Invalid database name", e.getMessage());
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册