Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit c9b51ff

Browse files
authored
Update ElementTest.php
1 parent b1fe6fc commit c9b51ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/ElementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function testAppendElement(): void
4141
*/
4242
public function testAppendTextNode(): void
4343
{
44-
$element = $this->element->appendTextNode('fix&foxy');
45-
// $result = $this->document->evaluate('count(//"fix&foxy")'); // hmm?
44+
$element = $this->element->appendTextNode('hello', 'fix&foxy');
45+
$result = $this->document->evaluate('count(//hello)');
4646
$this->assertInstanceOf('PhpBench\Dom\Element', $element);
4747
$this->assertEquals(1, $result);
4848
}

0 commit comments

Comments
 (0)