diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2013-07-17 23:07:31 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2013-07-17 23:07:31 +0000 |
| commit | 25c5218b5ee7361943979b386cc681cf158f707e (patch) | |
| tree | 42da65dfeb85944f049a32c61824361828efafdf /modules/gallery/tests/Controller_Auth_Test.php | |
| parent | 9ef4eff6aea4ec1135f7b12ff8f22dc296cc91ba (diff) | |
| parent | ffecd3feffdb0d49e14c75d90e2765dcb3bddc02 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Controller_Auth_Test.php')
| -rw-r--r-- | modules/gallery/tests/Controller_Auth_Test.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/tests/Controller_Auth_Test.php b/modules/gallery/tests/Controller_Auth_Test.php index e1ca0a7b..6551decb 100644 --- a/modules/gallery/tests/Controller_Auth_Test.php +++ b/modules/gallery/tests/Controller_Auth_Test.php @@ -47,6 +47,10 @@ class Controller_Auth_Test extends Gallery_Unit_Test_Case { $function = null; for ($token_number = 0; $token_number < count($tokens); $token_number++) { $token = $tokens[$token_number]; + if (self::_token_matches(array(T_CURLY_OPEN), $tokens, $token_number)) { + // Treat this just like a normal open curly brace + $token = "{"; + } // Count braces. // 1 open brace = in class context. |
