Skip to content

Commit

Permalink
Removed a leftover from debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Feb 5, 2021
1 parent 5b06071 commit 44dfe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TalRepeatTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function testTraversableRepeat()

$tpl = $this->newPHPTAL();
$tpl->setSource('<tal:block tal:repeat="node nodes"><tal:block tal:condition="php:repeat.node.index==4">(len=${nodes/length})</tal:block>${repeat/node/key}${node/tagName}</tal:block>');
$tpl->nodes = $a = $doc->getElementsByTagName('*');
$tpl->nodes = $doc->getElementsByTagName('*');

$this->assertEquals('0a1b2c3d(len=7)4e5f6g', $tpl->execute());

Expand Down

0 comments on commit 44dfe4c

Please sign in to comment.