From e7dd1c26048032642cce2b51bb1bdd30c7e07248 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Wed, 2 Apr 2025 20:29:30 +0545 Subject: [PATCH] Fix Gherkin lint issues --- features/checksum-core.feature | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/features/checksum-core.feature b/features/checksum-core.feature index 21d20358..3ccfdaa3 100644 --- a/features/checksum-core.feature +++ b/features/checksum-core.feature @@ -228,35 +228,35 @@ Feature: Validate checksums for WordPress install Success: WordPress installation verifies against checksums. """ And STDERR should be empty - + Scenario: Verify core checksums with excluded files - Given a WP install - And "WordPress" replaced with "PressWord" in the readme.html file - And a wp-includes/some-filename.php 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 """ - When I try `wp core verify-checksums --exclude='readme.html,wp-includes/some-filename.php'` - Then STDERR should be empty - And STDOUT should be: + 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. """ - And the return code should be 0 + 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: + 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 """ - When I try `wp core verify-checksums --exclude='wp-includes/some-filename.php'` - Then STDERR should be: + When I try `wp core verify-checksums --exclude='wp-includes/some-filename.php'` + Then STDERR should be: """ 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 \ No newline at end of file