1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-11 07:44:12 +02:00

Update isBase64 to return true if an empty string

This commit is contained in:
Daniel St. Jules
2015-12-20 11:46:33 -08:00
parent 318db789b1
commit d990a41a1a
3 changed files with 3 additions and 4 deletions

View File

@@ -2186,7 +2186,7 @@ class StringyTestCase extends PHPUnit_Framework_TestCase
{
return array(
array(false, ' '),
array(false, ''),
array(true, ''),
array(true, base64_encode('FooBar') ),
array(true, base64_encode(' ') ),
array(true, base64_encode('FÒÔBÀŘ') ),