Skip to content

Commit ed8b382

Browse files
committed
Static code analysis
1 parent 6079e77 commit ed8b382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/XPath/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function testHtmlShakespear($css, $count)
7474
$document = simplexml_import_dom($document);
7575
$bodies = $document->xpath('//body');
7676
$elements = $bodies[0]->xpath($translator->cssToXPath($css));
77-
$this->assertEquals($count, count($elements));
77+
$this->assertCount($count, $elements);
7878
}
7979

8080
public function getXpathLiteralTestData()

0 commit comments

Comments
 (0)