update: update validator test function

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

No files matched your search

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