From 945afcc0dfa038a2dd140072409ee576187feb3b Mon Sep 17 00:00:00 2001 From: Looly Date: Mon, 4 Dec 2023 23:49:07 +0800 Subject: [PATCH] fix test --- .../test/java/org/dromara/hutool/db/driver/DriverUtilTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }