diff --git a/hutool-db/src/test/java/org/dromara/hutool/db/driver/DriverUtilTest.java b/hutool-db/src/test/java/org/dromara/hutool/db/driver/DriverUtilTest.java index 1d38d567f..296b42835 100644 --- a/hutool-db/src/test/java/org/dromara/hutool/db/driver/DriverUtilTest.java +++ b/hutool-db/src/test/java/org/dromara/hutool/db/driver/DriverUtilTest.java @@ -13,7 +13,6 @@ package org.dromara.hutool.db.driver; import org.dromara.hutool.core.util.RandomUtil; -import org.dromara.hutool.db.driver.DriverUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -25,7 +24,7 @@ public class DriverUtilTest { @Test public void identifyH2DriverTest(){ final String url = "jdbc:h2:file:./db/test;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;MODE=MYSQL"; - final String driver = DriverUtil.identifyDriver(url); // driver 返回 mysql 的 driver + final String driver = DriverUtil.identifyDriver(url); // driver 返回 h2 的 driver Assertions.assertEquals("org.h2.Driver", driver); }