Skip to content

Commit 6566fd2

Browse files
committed
Use regex assertion
1 parent 3bb6883 commit 6566fd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

features/package-install.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,9 +1202,9 @@ Feature: Install WP-CLI packages
12021202
"""
12031203
{PACKAGE_PATH}composer.json to require the package...
12041204
"""
1205+
And STDOUT should match /Registering .*?path-command as a path repository\.\.\./
12051206
And STDOUT should contain:
12061207
"""
1207-
Registering {CURRENT_PATH}/path-command as a path repository...
12081208
Using Composer to install the package...
12091209
"""
12101210
And STDOUT should contain:
@@ -1291,9 +1291,9 @@ Feature: Install WP-CLI packages
12911291
"""
12921292
{PACKAGE_PATH}composer.json to require the package...
12931293
"""
1294+
And STDOUT should match /Registering .*?path-command as a path repository\.\.\./
12941295
And STDOUT should contain:
12951296
"""
1296-
Registering {CURRENT_PATH}/path-command as a path repository...
12971297
Using Composer to install the package...
12981298
"""
12991299
And STDOUT should contain:

0 commit comments

Comments
 (0)