Skip to content

Commit fc0e2a2

Browse files
committed
test: could it be STDERR, now that we have the foramtting fixed?
1 parent d33e0b8 commit fc0e2a2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

features/comment.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,13 @@ Feature: Manage WordPress comments
591591
And save STDOUT as {COMMENT_ID_2}
592592

593593
When I run `wp comment delete {COMMENT_ID_1} {COMMENT_ID_2} 99999`
594-
Then STDOUT should contain:
594+
Then STDOUT should be:
595595
"""
596596
Success: Trashed comment {COMMENT_ID_1}.
597597
Success: Trashed comment {COMMENT_ID_2}.
598-
598+
"""
599+
And STDERR should be:
600+
"""
599601
Warning: Failed deleting comment 99999.
600602
Error: Failed deleting 1 comments.
601603
"""

0 commit comments

Comments
 (0)