refactor: rewrite all unit test functions with assert

This commit is contained in:
dudaodong committed 2022-01-09 15:57:21 +08:00
1 parent 49f62c3550
commit 52c5a91606
2 files changed
+10 -15

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func TestGetInternalIp(t *testing.T) {
assert := internal.NewAssert(t, "TestBefore")
assert := internal.NewAssert(t, "TestGetInternalIp")
internalIp := GetInternalIp()
ip := net.ParseIP(internalIp)