From f9096fa853305441a49f14121c3d7e4284c2d49b Mon Sep 17 00:00:00 2001 From: Alessio Pierobon Date: Mon, 24 May 2021 22:07:35 +0200 Subject: [PATCH] Fixed assertMatchesPattern example in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f53192cf..ca266cde 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ class MatcherTest extends PHPMatcherTestCase { public function test_matcher_that_value_matches_pattern() { - $this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}'); + $this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}'); } } ``` @@ -82,7 +82,7 @@ class MatcherTest extends TestCase public function test_matcher_that_value_matches_pattern() { - $this->assertMatchesPattern('{"name": "Norbert"}', '{"name": "@string@"}'); + $this->assertMatchesPattern('{"name": "@string@"}', '{"name": "Norbert"}'); } } ```