Skip to content

Commit fe75439

Browse files
committed
Test misuse of --strict parameter
1 parent 7bf16e7 commit fe75439

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

features/config-list.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ Feature: List the values of a wp-config.php file
9393
DB_NAME
9494
"""
9595
96+
When I try `wp config list --fields=key --strict`
97+
Then STDERR should be:
98+
"""
99+
Error: The --strict option can only be used in combination with a filter.
100+
"""
101+
96102
When I try `wp config list --fields=key DB_ --strict`
97103
Then STDERR should be:
98104
"""

0 commit comments

Comments
 (0)