Skip to content

Commit

Permalink
test: fix tests since wp-i18n 2.6.0 (#4)
Browse files Browse the repository at this point in the history
* test: fix tests since wp-i18n 2.6.0
  • Loading branch information
nlemoine authored Feb 7, 2024
1 parent 1a69f6d commit 3bdaa8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions features/makepot.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Feature: Generate a POT file of a WordPress project
When I run `wp i18n make-pot foo-theme foo-theme.pot --skip-twig`
Then STDOUT should be:
"""
Success: POT file successfully generated!
Success: POT file successfully generated.
"""
And the foo-theme.pot file should not contain:
"""
Expand Down Expand Up @@ -58,7 +58,7 @@ Feature: Generate a POT file of a WordPress project
When I run `wp i18n make-pot foo-theme`
Then STDOUT should be:
"""
Success: POT file successfully generated!
Success: POT file successfully generated.
"""
And the foo-theme/foo-theme.pot file should exist
And the foo-theme/foo-theme.pot file should contain:
Expand Down Expand Up @@ -272,7 +272,7 @@ Feature: Generate a POT file of a WordPress project
When I run `wp i18n make-pot foo-theme`
Then STDOUT should be:
"""
Success: POT file successfully generated!
Success: POT file successfully generated.
"""
And the foo-theme/foo-theme.pot file should exist
And the foo-theme/foo-theme.pot file should contain:
Expand Down

0 comments on commit 3bdaa8c

Please sign in to comment.