diff --git a/tests/JsonpCallbackValidatorTest.php b/tests/JsonpCallbackValidatorTest.php index b2b93e8..29df3aa 100644 --- a/tests/JsonpCallbackValidatorTest.php +++ b/tests/JsonpCallbackValidatorTest.php @@ -37,7 +37,7 @@ public static function dataProviderForTestValidate() array('array_of_functions["key"]', self::IS_VALID), array('_function', self::IS_VALID), array('petersCallback1412331422[12]', self::IS_VALID), - array('(function xss(x) {evil()})', self::IS_INVALID), + array('(function xss(x){evil()})', self::IS_INVALID), array('', self::IS_INVALID), array('alert()', self::IS_INVALID), array('test()', self::IS_INVALID),