Skip to content

Commit 131201e

Browse files
committed
Fix test scenario: Search / replace should remove placeholder escape on export
1 parent 4b86453 commit 131201e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/search-replace-export.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,12 +339,12 @@ Feature: Search / replace with file export
339339
And I run `wp post create --post_title=test-remove-placeholder-escape% --porcelain`
340340
Then save STDOUT as {POST_ID}
341341

342-
When I run `wp search-replace baz bar --export`
342+
When I run `wp search-replace baz bar --export | grep test-remove-placeholder-escape`
343343
Then STDOUT should contain:
344344
"""
345345
'test-remove-placeholder-escape%'
346346
"""
347-
And STDOUT should contain:
347+
And STDOUT should not contain:
348348
"""
349349
'test-remove-placeholder-escape{'
350350
"""

0 commit comments

Comments
 (0)