You are here

public function CssSelectorTest::testCssToXPathWithoutPrefix in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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');
}