function TwigExtensionTest::testRenderVarEarlyReturn
@covers ::renderVar
@dataProvider providerTestRenderVarEarlyReturn
File
-
core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php, line 364
Class
- TwigExtensionTest
- Tests the twig extension.
Namespace
Drupal\Tests\Core\TemplateCode
public function testRenderVarEarlyReturn($expected, $input) {
$result = $this->systemUnderTest
->renderVar($input);
$this->assertSame($expected, $result);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.