We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6079e77 commit ed8b382Copy full SHA for ed8b382
Tests/XPath/TranslatorTest.php
@@ -74,7 +74,7 @@ public function testHtmlShakespear($css, $count)
74
$document = simplexml_import_dom($document);
75
$bodies = $document->xpath('//body');
76
$elements = $bodies[0]->xpath($translator->cssToXPath($css));
77
- $this->assertEquals($count, count($elements));
+ $this->assertCount($count, $elements);
78
}
79
80
public function getXpathLiteralTestData()
0 commit comments