mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
refactor: rewrite all unit test functions with assert
This commit is contained in:
1 parent
49f62c3550
commit
52c5a91606
2 files changed
+10
-15
No files matched your search
+1
-1
@@ -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