@@ -37,7 +37,7 @@ Feature: Scaffold WP-CLI commands
3737 "wp-cli/wp-cli": "^2.5"
3838 },
3939 """
40- And the {PACKAGE_PATH}/local/wp-cli/foo/command.php file should exist
40+ And the {PACKAGE_PATH}/local/wp-cli/foo/hello-world- command.php file should exist
4141 And the {PACKAGE_PATH}/local/wp-cli/foo/CONTRIBUTING.md file should exist
4242 And the {PACKAGE_PATH}/local/wp-cli/foo/CONTRIBUTING.md file should contain:
4343 """
@@ -48,17 +48,17 @@ Feature: Scaffold WP-CLI commands
4848 And the {PACKAGE_PATH}/local/wp-cli/foo/.github/PULL_REQUEST_TEMPLATE file should exist
4949 And the {PACKAGE_PATH}/local/wp-cli/foo/.github/ISSUE_TEMPLATE file should exist
5050
51- When I run `wp --require={PACKAGE_PATH}/local/wp-cli/foo/command.php hello-world`
51+ When I run `wp --require={PACKAGE_PATH}/local/wp-cli/foo/hello-world- command.php hello-world`
5252 Then STDOUT should be:
5353 """
54- Success: Hello world.
54+ Success: Hello world!
5555 """
5656
5757 When I run `cat {PACKAGE_PATH}/local/wp-cli/foo/wp-cli.yml`
5858 Then STDOUT should contain:
5959 """
6060 require:
61- - command.php
61+ - hello-world- command.php
6262 """
6363
6464 When I run `cat {PACKAGE_PATH}/local/wp-cli/foo/.gitignore`
@@ -91,7 +91,7 @@ Feature: Scaffold WP-CLI commands
9191 When I run `wp hello-world`
9292 Then STDOUT should be:
9393 """
94- Success: Hello world.
94+ Success: Hello world!
9595 """
9696
9797 When I run `wp package uninstall wp-cli/without-require`
@@ -121,14 +121,14 @@ Feature: Scaffold WP-CLI commands
121121 And the custom-directory/.gitignore file should exist
122122 And the custom-directory/.editorconfig file should exist
123123 And the custom-directory/composer.json file should exist
124- And the custom-directory/command.php file should exist
124+ And the custom-directory/hello-world- command.php file should exist
125125 And the custom-directory/wp-cli.yml file should exist
126126 And the custom-directory/.travis.yml file should not exist
127127
128- When I run `wp --require=custom-directory/command.php hello-world`
128+ When I run `wp --require=custom-directory/hello-world- command.php hello-world`
129129 Then STDOUT should be:
130130 """
131- Success: Hello world.
131+ Success: Hello world!
132132 """
133133 When I run `wp package uninstall wp-cli/custom-directory`
134134 Then STDOUT should contain:
@@ -187,14 +187,14 @@ Feature: Scaffold WP-CLI commands
187187 And the {PACKAGE_PATH}/local/wp-cli/with-tests/.gitignore file should exist
188188 And the {PACKAGE_PATH}/local/wp-cli/with-tests/.editorconfig file should exist
189189 And the {PACKAGE_PATH}/local/wp-cli/with-tests/composer.json file should exist
190- And the {PACKAGE_PATH}/local/wp-cli/with-tests/command.php file should exist
190+ And the {PACKAGE_PATH}/local/wp-cli/with-tests/hello-world- command.php file should exist
191191 And the {PACKAGE_PATH}/local/wp-cli/with-tests/wp-cli.yml file should exist
192192 And the {PACKAGE_PATH}/local/wp-cli/with-tests/.travis.yml file should exist
193193
194- When I run `wp --require={PACKAGE_PATH}/local/wp-cli/with-tests/command.php hello-world`
194+ When I run `wp --require={PACKAGE_PATH}/local/wp-cli/with-tests/hello-world- command.php hello-world`
195195 Then STDOUT should be:
196196 """
197- Success: Hello world.
197+ Success: Hello world!
198198 """
199199 When I run `wp package uninstall wp-cli/with-tests`
200200 Then STDOUT should contain:
0 commit comments