Skip to content

Commit 7c73f3c

Browse files
alepdevnorberttech
authored andcommitted
Fixed assertMatchesPattern example in README (#240)
1 parent 5602b39 commit 7c73f3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class MatcherTest extends PHPMatcherTestCase
6767
{
6868
public function test_matcher_that_value_matches_pattern()
6969
{
70-
$this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}');
70+
$this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}');
7171
}
7272
}
7373
```
@@ -86,7 +86,7 @@ class MatcherTest extends TestCase
8686

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

0 commit comments

Comments
 (0)