You are here

public function CssSelectorTest::testCssToXPathWithoutPrefix in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Tests/CssSelectorTest.php \Symfony\Component\CssSelector\Tests\CssSelectorTest::testCssToXPathWithoutPrefix()

@dataProvider getCssToXPathWithoutPrefixTestData

File

vendor/symfony/css-selector/Tests/CssSelectorTest.php, line 28

Class

CssSelectorTest

Namespace

Symfony\Component\CssSelector\Tests

Code

public function testCssToXPathWithoutPrefix($css, $xpath) {
  $this
    ->assertEquals($xpath, CssSelector::toXPath($css, ''), '->parse() parses an input string and returns a node');
}