From: Fabien Potencier Date: Thu, 8 Nov 2012 07:51:01 +0000 (+0100) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=d7fed092b17a86ca9c537b4d310e00e05bf5578c;p=web%2Fkonrad%2Ftwig.git fixed typo --- diff --git a/test/Twig/Tests/TemplateTest.php b/test/Twig/Tests/TemplateTest.php index 0f8f277..75103d1 100644 --- a/test/Twig/Tests/TemplateTest.php +++ b/test/Twig/Tests/TemplateTest.php @@ -48,7 +48,7 @@ class Twig_Tests_TemplateTest extends PHPUnit_Framework_TestCase array('{{ string.a }}', 'Item "a" for "foo" does not exist in "%s" at line 1', false), array('{{ array.a }}', 'Item "a" for "Array" does not exist in "%s" at line 1', false), array('{{ array_access.a }}', 'Method "a" for object "Twig_TemplateArrayAccessObject" does not exist in "%s" at line 1', false), - array('{% macro foo(obj) %}{{ obj.missing_method() }}{% endmacro %}{{ _self.foo(array_access) }}', 'Method "missing_method" for object "Twig_TemplateArrayAccessObject" does not exist in "index_0" at line 1', false), + array('{% macro foo(obj) %}{{ obj.missing_method() }}{% endmacro %}{{ _self.foo(array_access) }}', 'Method "missing_method" for object "Twig_TemplateArrayAccessObject" does not exist in "%s" at line 1', false), ); if (function_exists('twig_template_get_attributes')) {