Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
swissspidy committed Nov 29, 2023
commit 594a91c5902a34723c3852f383ffc3b5c53d090c
2 changes: 1 addition & 1 deletion features/makejson.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Split PO files into JSON files.
When I try `wp i18n make-json foo`
Then STDERR should contain:
"""
Error: Source file or directory does not exist!
Error: Source file or directory does not exist.
"""
And the return code should be 1

Expand Down
4 changes: 2 additions & 2 deletions features/makemo.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Generate MO files from PO files
When I try `wp i18n make-mo foo`
Then STDERR should contain:
"""
Error: Source file or directory does not exist!
Error: Source file or directory does not exist.
"""
And the return code should be 1
Scenario: Bail for destination being a file when source is a folder
Expand All @@ -18,7 +18,7 @@ Feature: Generate MO files from PO files
When I try `wp i18n make-mo foo test.mo `
Then STDERR should contain:
"""
Error: Destination file not supported when source is a directory!
Error: Destination file not supported when source is a directory.
"""
And the return code should be 1
Scenario: Uses source folder as destination by default
Expand Down
2 changes: 1 addition & 1 deletion features/makephp.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Generate PHP files from PO files
When I try `wp i18n make-php foo`
Then STDERR should contain:
"""
Error: Source file or directory does not exist!
Error: Source file or directory does not exist.
"""
And the return code should be 1

Expand Down
Loading