fixed tests for the latest Twig

This commit is contained in:
Fabien Potencier 2012-02-18 10:54:20 +01:00
parent 3e326ff903
commit 3236fc5af3
1 changed files with 0 additions and 4 deletions

View File

@ -62,10 +62,6 @@ class FormThemeTest extends TestCase
protected function getVariableGetter($name)
{
if (version_compare(phpversion(), '5.4.0RC1', '>=')) {
return sprintf('(isset($context["%s"]) ? $context["%s"] : null)', $name, $name);
}
return sprintf('$this->getContext($context, "%s")', $name);
}
}