@@ -87,7 +87,6 @@ public function test_matcher_with_array_value()
87
87
);
88
88
89
89
$ this ->assertTrue ($ this ->matcher ->match ($ value , $ expecation ), $ this ->matcher ->getError ());
90
- $ this ->assertTrue (match ($ value , $ expecation ));
91
90
}
92
91
93
92
/**
@@ -96,7 +95,6 @@ public function test_matcher_with_array_value()
96
95
public function test_matcher_with_scalar_values ($ value , $ pattern )
97
96
{
98
97
$ this ->assertTrue ($ this ->matcher ->match ($ value , $ pattern ));
99
- $ this ->assertTrue (match ($ value , $ pattern ));
100
98
}
101
99
102
100
public function scalarValues ()
@@ -155,7 +153,6 @@ public function test_matcher_with_json()
155
153
} ' ;
156
154
157
155
$ this ->assertTrue ($ this ->matcher ->match ($ json , $ jsonPattern ));
158
- $ this ->assertTrue (match ($ json , $ jsonPattern ));
159
156
}
160
157
161
158
public function test_matcher_with_xml ()
@@ -192,15 +189,13 @@ public function test_matcher_with_xml()
192
189
XML ;
193
190
194
191
$ this ->assertTrue ($ this ->matcher ->match ($ xml , $ xmlPattern ));
195
- $ this ->assertTrue (match ($ xml , $ xmlPattern ));
196
192
}
197
193
198
194
public function test_text_matcher ()
199
195
{
200
196
$ value = "lorem ipsum 1234 random text " ;
201
197
$ pattern =
"@[email protected] ('lo') ipsum @[email protected] (10) random text " ;
202
198
$ this ->assertTrue ($ this ->matcher ->match ($ value , $ pattern ));
203
- $ this ->assertTrue (match ($ value , $ pattern ));
204
199
}
205
200
206
201
0 commit comments