Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Fix MinkContext double quotes typo #386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Behat/MinkExtension/Context/MinkContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<pattern>"(?:[^"]|\\")*")$/
* @Then /^the (?i)url(?-i) should match "(?P<pattern>(?:[^"]|\\")*)"$/
*/
public function assertUrlRegExp($pattern)
{
Expand Down Expand Up @@ -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<pattern>"(?:[^"]|\\")*")$/
* @Then /^(?:|I )should see text matching "(?P<pattern>(?:[^"]|\\")*)"$/
*/
public function assertPageMatchesText($pattern)
{
Expand All @@ -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<pattern>"(?:[^"]|\\")*")$/
* @Then /^(?:|I )should not see text matching "(?P<pattern>(?:[^"]|\\")*)"$/
*/
public function assertPageNotMatchesText($pattern)
{
Expand Down