Skip to content

Commit be22d0e

Browse files
committed
Update test
1 parent 4b2a653 commit be22d0e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎features/search-replace.feature‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,15 +1480,14 @@ Feature: Do global search/replace
14801480
And the return code should be 1
14811481

14821482
@require-mysql
1483-
Scenario: Error when empty string provided via --new flag
1483+
Scenario: No error when empty string provided via --new flag
14841484
Given a WP install
14851485

14861486
When I try `wp search-replace --old='search' --new=''`
1487-
Then STDERR should contain:
1487+
Then STDERR should not contain:
14881488
"""
14891489
Please provide the <new> argument
14901490
"""
1491-
And the return code should be 1
14921491

14931492
@require-mysql
14941493
Scenario: Search/replace string starting with single hyphen works with positional args

0 commit comments

Comments
 (0)