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
+1 -1
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) {