Skip to content

Commit c5277fe

Browse files
authored
Merge pull request #297 from wp-cli/fix/tests
2 parents b2a51db + 63a2436 commit c5277fe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

features/db-size.feature

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ Feature: Display database size
2020
Given a WP install
2121

2222
When I run `wp db size --tables`
23-
Then STDOUT should contain:
24-
"""
25-
wp_posts 81920 B
26-
"""
23+
Then STDOUT should match /wp_posts\s+\d+ B/
2724

2825
But STDOUT should not contain:
2926
"""

0 commit comments

Comments
 (0)