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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user