Skip to content

Commit 602b0ce

Browse files
Copilothsbt
andcommitted
Add test for bundle help greet command
Co-authored-by: hsbt <12301+hsbt@users.noreply.github.com>
1 parent b8d4595 commit 602b0ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bundler/spec/plugins/command_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ def exec(command, args)
8282

8383
bundle "greet -h"
8484
expect(out).to eq("Usage: bundle greet [NAME]")
85+
86+
bundle "help greet"
87+
expect(out).to eq("Usage: bundle greet [NAME]")
8588
end
8689

8790
it "raises error on redeclaration of command" do

0 commit comments

Comments
 (0)