Skip to content

Commit

Permalink
Update theme and plugin list features.
Browse files Browse the repository at this point in the history
Capitalize error message text.
  • Loading branch information
baizmandesign committed May 14, 2024
1 parent 3de3678 commit 5043fba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/plugin-list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Feature: List WordPress plugins
When I try `wp plugin list --skip-update-check --force-check`
Then STDERR should contain:
"""
Error: plugin updates cannot be both force-checked and skipped. Choose one.
Error: Plugin updates cannot be both force-checked and skipped. Choose one.
"""
And STDOUT should be empty
And the return code should be 1
2 changes: 1 addition & 1 deletion features/theme-list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Feature: List WordPress themes
When I try `wp theme list --skip-update-check --force-check`
Then STDERR should contain:
"""
Error: theme updates cannot be both force-checked and skipped. Choose one.
Error: Theme updates cannot be both force-checked and skipped. Choose one.
"""
And STDOUT should be empty
And the return code should be 1

0 comments on commit 5043fba

Please sign in to comment.