1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-18 11:42:26 +08:00

refactor: rewrite all unit test functions with assert

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

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)