fixed PHP 5.2 incompatibilty
authorFabien Potencier <fabien.potencier@gmail.com>
Wed, 27 Jun 2012 09:49:34 +0000 (11:49 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Wed, 27 Jun 2012 09:49:34 +0000 (11:49 +0200)
test/Twig/Tests/escapingTest.php

index 608ef22..8c26bb7 100644 (file)
@@ -254,7 +254,7 @@ class Twig_Test_EscapingTest extends PHPUnit_Framework_TestCase
                 . chr($codepoint >> 6 & 0x3f | 0x80)
                 . chr($codepoint & 0x3f | 0x80);
         }
-        throw new \Exception('Codepoint requested outside of Unicode range');
+        throw new Exception('Codepoint requested outside of Unicode range');
     }
 
     public function testJavascriptEscapingEscapesOwaspRecommendedRanges()