mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
fixed 5.2 compat
This commit is contained in:
@@ -142,7 +142,7 @@ class Twig_Tests_EnvironmentTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
$twig = new Twig_Environment($this->getMock('Twig_LoaderInterface'));
|
||||
|
||||
$expected = file_get_contents(__DIR__.'/Fixtures/environment-compile.php');
|
||||
$expected = file_get_contents(dirname(__FILE__).'/Fixtures/environment-compile.php');
|
||||
$this->assertSame($expected, $twig->compileSource("{{ foo }}\n{{ bar }}\n", 'index'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user