Skip to content

Commit 0925fa5

Browse files
committed
Fixed failing tests after removing match function
1 parent 5344947 commit 0925fa5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/Coduo/PHPMatcher/MatcherTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ public function test_matcher_with_array_value()
8787
);
8888

8989
$this->assertTrue($this->matcher->match($value, $expecation), $this->matcher->getError());
90-
$this->assertTrue(match($value, $expecation));
9190
}
9291

9392
/**
@@ -96,7 +95,6 @@ public function test_matcher_with_array_value()
9695
public function test_matcher_with_scalar_values($value, $pattern)
9796
{
9897
$this->assertTrue($this->matcher->match($value, $pattern));
99-
$this->assertTrue(match($value, $pattern));
10098
}
10199

102100
public function scalarValues()
@@ -155,7 +153,6 @@ public function test_matcher_with_json()
155153
}';
156154

157155
$this->assertTrue($this->matcher->match($json, $jsonPattern));
158-
$this->assertTrue(match($json, $jsonPattern));
159156
}
160157

161158
public function test_matcher_with_xml()
@@ -192,15 +189,13 @@ public function test_matcher_with_xml()
192189
XML;
193190

194191
$this->assertTrue($this->matcher->match($xml, $xmlPattern));
195-
$this->assertTrue(match($xml, $xmlPattern));
196192
}
197193

198194
public function test_text_matcher()
199195
{
200196
$value = "lorem ipsum 1234 random text";
201197
$pattern = "@[email protected]('lo') ipsum @[email protected](10) random text";
202198
$this->assertTrue($this->matcher->match($value, $pattern));
203-
$this->assertTrue(match($value, $pattern));
204199
}
205200

206201

0 commit comments

Comments
 (0)