From d224166b4b4060fa4adf49c6e71f87e9a2a7d19f Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Thu, 10 Apr 2025 16:21:56 +0545 Subject: [PATCH] Fix docstring indent issue in feature files --- features/checksum-core.feature | 20 ++++++++++---------- features/checksum-plugin.feature | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/features/checksum-core.feature b/features/checksum-core.feature index 3ccfdaa3..03e697e8 100644 --- a/features/checksum-core.feature +++ b/features/checksum-core.feature @@ -233,25 +233,25 @@ Feature: Validate checksums for WordPress install Given a WP install And "WordPress" replaced with "PressWord" in the readme.html file And a wp-includes/some-filename.php file: - """ - sample content of some file - """ + """ + sample content of some file + """ When I try `wp core verify-checksums --exclude='readme.html,wp-includes/some-filename.php'` Then STDERR should be empty And STDOUT should be: - """ - Success: WordPress installation verifies against checksums. - """ + """ + Success: WordPress installation verifies against checksums. + """ And the return code should be 0 Scenario: Verify core checksums with missing excluded file Given a WP install And "WordPress" replaced with "PressWord" in the readme.html file And a wp-includes/some-filename.php file: - """ - sample content of some file - """ + """ + sample content of some file + """ When I try `wp core verify-checksums --exclude='wp-includes/some-filename.php'` Then STDERR should be: @@ -259,4 +259,4 @@ Feature: Validate checksums for WordPress install Warning: File doesn't verify against checksum: readme.html Error: WordPress installation doesn't verify against checksums. """ - And the return code should be 1 \ No newline at end of file + And the return code should be 1 diff --git a/features/checksum-plugin.feature b/features/checksum-plugin.feature index 0a32c366..499abee2 100644 --- a/features/checksum-plugin.feature +++ b/features/checksum-plugin.feature @@ -135,7 +135,7 @@ Feature: Validate checksums for WordPress plugins unset( $all_plugins['duplicate-post/duplicate-post.php'] ); return $all_plugins; } ); - """ + """ And "Duplicate Post" replaced with "Different Name" in the wp-content/plugins/duplicate-post/duplicate-post.php file When I run `wp plugin list --fields=name`