Skip to content

Commit

Permalink
Use STDERR against built Phar.
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Oct 29, 2017
1 parent 5cb1a13 commit 1a79123
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions features/package.feature
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,14 @@ Feature: Manage WP-CLI packages

Scenario: Run package commands without hitting Composer plugin errors in Phar files
Given an empty directory
And a new Phar with the same version

When I run `wp package list`
Then STDOUT should not contain:
When I run `{PHAR_PATH} package list`
Then STDERR should not contain:
"""
failed to open stream
"""
And STDOUT should not contain:
And STDERR should not contain:
"""
is not a file in phar
"""

0 comments on commit 1a79123

Please sign in to comment.