From 0de61d8da0df6a6851f7032dcb6ff25835e23525 Mon Sep 17 00:00:00 2001 From: gongna1 Date: Thu, 19 Sep 2024 20:44:54 +0800 Subject: [PATCH] feat:delete ip test case --- util/ip_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/util/ip_test.go b/util/ip_test.go index c02f75b1..0a0a5a7d 100644 --- a/util/ip_test.go +++ b/util/ip_test.go @@ -133,12 +133,6 @@ func TestGetInstanceDatacenter(t *testing.T) { true, "", }, - { - "test get datacenter format error 2", - "127.0.0.2:3306", - true, - "", - }, } for k, tt := range testCases { @@ -192,12 +186,6 @@ func TestGetHostDatacenter(t *testing.T) { true, "", }, - { - "test get datacenter format error 2", - "127.0.0.2", - true, - "", - }, } for k, tt := range testCases {