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:
@@ -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