1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 23:22:28 +08:00

refactor: rewrite all unit test functions with assert

This commit is contained in:
dudaodong
2022-01-09 16:04:33 +08:00
parent 52c5a91606
commit 1f45937190
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ func TestBase64StdEncode(t *testing.T) {
func TestBase64StdDecode(t *testing.T) {
assert := internal.NewAssert(t, "TestBase64StdDecode")
assert.Equal("hello world", Base64StdEncode("aGVsbG8gd29ybGQ="))
assert.Equal("hello world", Base64StdDecode("aGVsbG8gd29ybGQ="))
}
func TestMd5String(t *testing.T) {