public function Twig_Tests_ErrorTest::testErrorWithArrayFilename in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/ErrorTest.php \Twig_Tests_ErrorTest::testErrorWithArrayFilename()
File
- vendor/
twig/ twig/ test/ Twig/ Tests/ ErrorTest.php, line 22
Class
Code
public function testErrorWithArrayFilename() {
$error = new Twig_Error('foo');
$error
->setTemplateFile(array(
'foo' => 'bar',
));
$this
->assertEquals('foo in {"foo":"bar"}', $error
->getMessage());
}