Skip to content

Commit 845cdb0

Browse files
authored
Merge pull request #437 from wp-cli/refine-feature-files
Fix docstring indent issue in feature files
2 parents 27849b8 + b806b93 commit 845cdb0

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

features/makemo.feature

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Feature: Generate MO files from PO files
1313
Scenario: Bail for destination being a file when source is a folder
1414
Given an empty foo directory
1515
And a foo/foo.po file:
16-
"""
17-
"""
16+
"""
17+
"""
1818
When I try `wp i18n make-mo foo test.mo `
1919
Then STDERR should contain:
2020
"""
@@ -56,8 +56,8 @@ Feature: Generate MO files from PO files
5656
And the foo-plugin/foo-plugin-de_DE.mo file should exist
5757
Scenario: Uses the provided destination file name
5858
Given a foo.po file:
59-
"""
60-
"""
59+
"""
60+
"""
6161
When I run `wp i18n make-mo foo.po bar.mo`
6262
Then STDOUT should contain:
6363
"""
@@ -67,8 +67,8 @@ Feature: Generate MO files from PO files
6767
And the bar.mo file should exist
6868
Scenario: Uses the provided destination file name with no extension
6969
Given a foo.po file:
70-
"""
71-
"""
70+
"""
71+
"""
7272
When I run `wp i18n make-mo foo.po bar`
7373
Then STDOUT should contain:
7474
"""
@@ -78,8 +78,8 @@ Feature: Generate MO files from PO files
7878
And the bar file should exist
7979
Scenario: Preserves the provided source name with no destination
8080
Given a foo.po file:
81-
"""
82-
"""
81+
"""
82+
"""
8383
When I run `wp i18n make-mo foo.po`
8484
Then STDOUT should contain:
8585
"""

features/makepot.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3134,7 +3134,7 @@ Feature: Generate a POT file of a WordPress project
31343134
Success: POT file successfully generated.
31353135
"""
31363136
And the result.pot file should contain:
3137-
"""
3137+
"""
31383138
# Copyright (C) 2018 John Doe
31393139
# Powered by WP-CLI.
31403140
"""

features/updatepo.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,6 @@ Feature: Update existing PO files from a POT file
462462
msgstr ""
463463
"""
464464
And the foo-plugin/foo-plugin-de_DE.po file should contain:
465-
"""
466-
"X-Domain: foo-plugin\n"
467-
"""
465+
"""
466+
"X-Domain: foo-plugin\n"
467+
"""

0 commit comments

Comments
 (0)