File tree 1 file changed +3
-3
lines changed
src/Symfony/Bundle/FrameworkBundle/Tests/Console
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -232,19 +232,19 @@ public function testRunOnlyWarnsOnUnregistrableCommandAtTheEnd()
232
232
public function testSuggestingPackagesWithExactMatch ()
233
233
{
234
234
$ result = $ this ->createEventForSuggestingPackages ('server:dump ' , []);
235
- $ this ->assertRegExp ('/You may be looking for a command provided by the / ' , $ result );
235
+ $ this ->assertRegExp ('/You may be looking for a command provided by/ ' , $ result );
236
236
}
237
237
238
238
public function testSuggestingPackagesWithPartialMatchAndNoAlternatives ()
239
239
{
240
240
$ result = $ this ->createEventForSuggestingPackages ('server ' , []);
241
- $ this ->assertRegExp ('/You may be looking for a command provided by the / ' , $ result );
241
+ $ this ->assertRegExp ('/You may be looking for a command provided by/ ' , $ result );
242
242
}
243
243
244
244
public function testSuggestingPackagesWithPartialMatchAndAlternatives ()
245
245
{
246
246
$ result = $ this ->createEventForSuggestingPackages ('server ' , ['server:run ' ]);
247
- $ this ->assertNotRegExp ('/You may be looking for a command provided by the / ' , $ result );
247
+ $ this ->assertNotRegExp ('/You may be looking for a command provided by/ ' , $ result );
248
248
}
249
249
250
250
private function createEventForSuggestingPackages (string $ command , array $ alternatives = []): string
You can’t perform that action at this time.
0 commit comments