File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -474,8 +474,9 @@ Feature: Install WP-CLI packages
474474 Scenario: Install a package from Git using a shortened package identifier
475475 Given an empty directory
476476
477- When I run `wp package install wp-cli-test/github-test-command`
478- Then STDOUT should contain:
477+ When I try `wp package install wp-cli-test/github-test-command`
478+ Then the return code should be 0
479+ And STDOUT should contain:
479480 """
480481 Installing package wp-cli-test/github-test-command (dev-master)
481482 """
@@ -792,7 +793,7 @@ Feature: Install WP-CLI packages
792793 """
793794 Warning: Package name mismatch...Updating from git name 'GeekPress/wp-rocket-cli' to composer.json name 'wp-media/wp-rocket-cli' .
794795 """
795- And STDOUT should match /Installing package wp-media\/wp-rocket-cli \(dev- /
796+ And STDOUT should match /Installing package wp-media\/wp-rocket-cli \([^)]+\) /
796797 # This path is sometimes changed on Macs to prefix with /private
797798 And STDOUT should contain:
798799 """
You can’t perform that action at this time.
0 commit comments