Skip to content

Commit a036551

Browse files
authored
Fixed assertMatchesPattern example in README (#240)
1 parent 5c3f3cb commit a036551

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
@@ -63,7 +63,7 @@ class MatcherTest extends PHPMatcherTestCase
6363
{
6464
public function test_matcher_that_value_matches_pattern()
6565
{
66-
$this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}');
66+
$this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}');
6767
}
6868
}
6969
```
@@ -82,7 +82,7 @@ class MatcherTest extends TestCase
8282

8383
public function test_matcher_that_value_matches_pattern()
8484
{
85-
$this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}');
85+
$this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}');
8686
}
8787
}
8888
```

0 commit comments

Comments
 (0)