diff --git a/test/Twig/Tests/LexerTest.php b/test/Twig/Tests/LexerTest.php index 7594041b9..6e324adf7 100644 --- a/test/Twig/Tests/LexerTest.php +++ b/test/Twig/Tests/LexerTest.php @@ -119,9 +119,9 @@ class Twig_Tests_LexerTest extends PHPUnit_Framework_TestCase // should not throw an exception } - public function testLongBlock() + public function testLongVar() { - $template = '{{ '.str_repeat('*', 100000).' }}'; + $template = '{{ '.str_repeat('x', 100000).' }}'; $lexer = new Twig_Lexer(new Twig_Environment()); $stream = $lexer->tokenize($template); @@ -129,9 +129,9 @@ class Twig_Tests_LexerTest extends PHPUnit_Framework_TestCase // should not throw an exception } - public function testLongBlock1() + public function testLongBlock() { - $template = '{% '.str_repeat('*', 100000).' %}'; + $template = '{% '.str_repeat('x', 100000).' %}'; $lexer = new Twig_Lexer(new Twig_Environment()); $stream = $lexer->tokenize($template);