Skip to content

Commit 6ace4da

Browse files
committed
update regex
1 parent e1f3c78 commit 6ace4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/steps.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ Feature: Make sure "Given", "When", "Then" steps work as expected
7171
Scenario: Nested special variables
7272
Given an empty directory
7373
When I run `echo {INVOKE_WP_CLI_WITH_PHP_ARGS--dopen_basedir={RUN_DIR}} cli info`
74-
Then STDOUT should match /^WP_CLI_PHP_ARGS=-dopen_basedir=.* ?wp cli info/
74+
Then STDOUT should match /^WP_CLI_PHP_ARGS=-dopen_basedir=.* ?wp(\.bat)? cli info/
7575
And STDERR should be empty
7676

7777
When I run `echo {INVOKE_WP_CLI_WITH_PHP_ARGS--dopen_basedir={RUN_DIR}} eval 'echo "{RUN_DIR}";'`
78-
Then STDOUT should match /^WP_CLI_PHP_ARGS=-dopen_basedir=(.*)(.*) ?wp eval echo "\1";/
78+
Then STDOUT should match /^WP_CLI_PHP_ARGS=-dopen_basedir=(.*)(.*) ?wp(\.bat)? eval echo "\1";/
7979

8080
@require-mysql-or-mariadb
8181
Scenario: SQL related variables

0 commit comments

Comments
 (0)