Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 26, 2024
1 parent 61733f6 commit 8528bb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class Mustache_Test_FiveThree_Functional_StrictCallablesTest extends Yoast\PHPUn
public function testStrictCallables($strict, $name, $section, $expected)
{
$mustache = new Mustache_Engine(array('strict_callables' => $strict));
$tpl = $mustache->loadTemplate('{{# section }}{{ name }}{{/ section }}');
$tpl = $mustache->loadTemplate('{{# section }}{{ yourname }}{{/ section }}');

$data = new StdClass();
$data->name = $name;
$data->yourname = $name;
$data->section = $section;

$this->assertEquals($expected, $tpl->render($data));
Expand Down

0 comments on commit 8528bb0

Please sign in to comment.