1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-10 15:52:27 +08:00

update: update validator test function

This commit is contained in:
dudaodong
2021-11-29 15:53:48 +08:00
parent 7d39d1319b
commit fee6cb17f3
5 changed files with 10 additions and 14 deletions

View File

@@ -190,7 +190,7 @@ func isCreditCard(t *testing.T, source string, expected bool) {
}
func TestIsBase64(t *testing.T) {
isBase64(t, "aGVsbG8", true)
isBase64(t, "aGVsbG8=", true)
isBase64(t, "123456", false)
}