From b806b93e64a0a677fe1da5d9934b50fe84b433b9 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Thu, 10 Apr 2025 16:37:19 +0545 Subject: [PATCH] Fix docstring indent issue in feature files --- features/makemo.feature | 16 ++++++++-------- features/makepot.feature | 2 +- features/updatepo.feature | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/features/makemo.feature b/features/makemo.feature index 5fbb7014..c1bff75d 100644 --- a/features/makemo.feature +++ b/features/makemo.feature @@ -13,8 +13,8 @@ Feature: Generate MO files from PO files Scenario: Bail for destination being a file when source is a folder Given an empty foo directory And a foo/foo.po file: - """ - """ + """ + """ When I try `wp i18n make-mo foo test.mo ` Then STDERR should contain: """ @@ -56,8 +56,8 @@ Feature: Generate MO files from PO files And the foo-plugin/foo-plugin-de_DE.mo file should exist Scenario: Uses the provided destination file name Given a foo.po file: - """ - """ + """ + """ When I run `wp i18n make-mo foo.po bar.mo` Then STDOUT should contain: """ @@ -67,8 +67,8 @@ Feature: Generate MO files from PO files And the bar.mo file should exist Scenario: Uses the provided destination file name with no extension Given a foo.po file: - """ - """ + """ + """ When I run `wp i18n make-mo foo.po bar` Then STDOUT should contain: """ @@ -78,8 +78,8 @@ Feature: Generate MO files from PO files And the bar file should exist Scenario: Preserves the provided source name with no destination Given a foo.po file: - """ - """ + """ + """ When I run `wp i18n make-mo foo.po` Then STDOUT should contain: """ diff --git a/features/makepot.feature b/features/makepot.feature index 8263a396..c292be88 100644 --- a/features/makepot.feature +++ b/features/makepot.feature @@ -3134,7 +3134,7 @@ Feature: Generate a POT file of a WordPress project Success: POT file successfully generated. """ And the result.pot file should contain: - """ + """ # Copyright (C) 2018 John Doe # Powered by WP-CLI. """ diff --git a/features/updatepo.feature b/features/updatepo.feature index ddfc8882..6aba5e30 100644 --- a/features/updatepo.feature +++ b/features/updatepo.feature @@ -462,6 +462,6 @@ Feature: Update existing PO files from a POT file msgstr "" """ And the foo-plugin/foo-plugin-de_DE.po file should contain: - """ - "X-Domain: foo-plugin\n" - """ + """ + "X-Domain: foo-plugin\n" + """