mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
format code
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@527 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -11,7 +11,6 @@ import com.alibaba.druid.pool.DruidDataSource;
|
||||
|
||||
public class Case3 extends TestCase {
|
||||
|
||||
|
||||
public void test_1() throws Exception {
|
||||
DruidDataSource dataSource = new DruidDataSource();
|
||||
dataSource.setUrl("jdbc:mysql://10.20.153.104:3306/druid2");
|
||||
@@ -24,10 +23,10 @@ public class Case3 extends TestCase {
|
||||
rs.next();
|
||||
|
||||
conn.close();
|
||||
|
||||
|
||||
Assert.assertEquals(true, stmt.isClosed());
|
||||
Assert.assertEquals(true, rs.isClosed());
|
||||
|
||||
|
||||
rs.close();
|
||||
stmt.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user