mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
update: update validator test function
This commit is contained in:
1 parent
7d39d1319b
commit
fee6cb17f3
5 files changed
+10
-14
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user