From d08e8a2dacb322e27f52fbae5d5496d2282dea3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 12 Sep 2022 02:15:30 +0200 Subject: [PATCH] Fix MinkContext double quotes typo --- src/Behat/MinkExtension/Context/MinkContext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Behat/MinkExtension/Context/MinkContext.php b/src/Behat/MinkExtension/Context/MinkContext.php index c6eeb0f4..2e2b0d44 100644 --- a/src/Behat/MinkExtension/Context/MinkContext.php +++ b/src/Behat/MinkExtension/Context/MinkContext.php @@ -249,7 +249,7 @@ public function assertHomepage() * Example: Then the uri should match "log in" * Example: And the url should match "log in" * - * @Then /^the (?i)url(?-i) should match (?P"(?:[^"]|\\")*")$/ + * @Then /^the (?i)url(?-i) should match "(?P(?:[^"]|\\")*)"$/ */ public function assertUrlRegExp($pattern) { @@ -309,7 +309,7 @@ public function assertPageNotContainsText($text) * Example: Then I should see text matching "Batman, the vigilante" * Example: And I should not see "Batman, the vigilante" * - * @Then /^(?:|I )should see text matching (?P"(?:[^"]|\\")*")$/ + * @Then /^(?:|I )should see text matching "(?P(?:[^"]|\\")*)"$/ */ public function assertPageMatchesText($pattern) { @@ -321,7 +321,7 @@ public function assertPageMatchesText($pattern) * Example: Then I should see text matching "Bruce Wayne, the vigilante" * Example: And I should not see "Bruce Wayne, the vigilante" * - * @Then /^(?:|I )should not see text matching (?P"(?:[^"]|\\")*")$/ + * @Then /^(?:|I )should not see text matching "(?P(?:[^"]|\\")*)"$/ */ public function assertPageNotMatchesText($pattern) {