Skip to content

Commit ee8a00f

Browse files
committed
Update regex
1 parent 320de7b commit ee8a00f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

features/core-check-update.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Feature: Check for more recent versions
1010
Then STDOUT should not be empty
1111

1212
When I run `wp core check-update --format=csv`
13-
Then STDOUT should match #^{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip$#
14-
And STDOUT should match #^{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip$#
13+
Then STDOUT should match #{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip#
14+
And STDOUT should match #{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip#
1515

1616
When I run `wp core check-update --format=count`
1717
Then STDOUT should be:
@@ -20,7 +20,7 @@ Feature: Check for more recent versions
2020
"""
2121

2222
When I run `wp core check-update --major --format=csv`
23-
Then STDOUT should match #^{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip$#
23+
Then STDOUT should match #{WP_VERSION-latest},major,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-latest}.zip#
2424

2525
When I run `wp core check-update --major --format=count`
2626
Then STDOUT should be:
@@ -29,7 +29,7 @@ Feature: Check for more recent versions
2929
"""
3030

3131
When I run `wp core check-update --minor`
32-
Then STDOUT should match #^{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip$#
32+
Then STDOUT should match #{WP_VERSION-5.8-latest},minor,https://downloads.(w|wordpress).org/release/wordpress-{WP_VERSION-5.8-latest}-partial-0.zip#
3333

3434
When I run `wp core check-update --minor --format=count`
3535
Then STDOUT should be:

0 commit comments

Comments
 (0)