Skip to content

Commit 20654fa

Browse files
alepdevnorberttech
authored andcommitted
Fixed assertMatchesPattern example in README (#240)
1 parent f6e48ad commit 20654fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class MatcherTest extends PHPMatcherTestCase
6868
{
6969
public function test_matcher_that_value_matches_pattern()
7070
{
71-
$this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}');
71+
$this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}');
7272
}
7373
}
7474
```
@@ -87,7 +87,7 @@ class MatcherTest extends TestCase
8787

8888
public function test_matcher_that_value_matches_pattern()
8989
{
90-
$this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}');
90+
$this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}');
9191
}
9292
}
9393
```

0 commit comments

Comments
 (0)