Skip to content

Commit

Permalink
Merge pull request #2625 from mhashizume/maint/main/thor-fix
Browse files Browse the repository at this point in the history
(maint) Fix Thor::Command.new arguments
  • Loading branch information
joshcooper authored Oct 19, 2023
2 parents cb9a7c2 + 7b69e56 commit 3c43f9e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions spec/framework/cli/cli_launcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@

describe '#prepare_arguments' do
let(:task_list) do
{ 'help' => Thor::Command.new('help', 'description', 'long_description', 'usage'),
'query' => Thor::Command.new('query', 'description', 'long_description', 'usage'),
'version' => Thor::Command.new('version', 'description', 'long_description', 'usage'),
'list_block_groups' => Thor::Command.new('list_block_groups', 'description', 'long_description', 'usage'),
'list_cache_groups' => Thor::Command.new('list_cache_groups', 'description', 'long_description', 'usage') }
{ 'help' => Thor::Command.new('help', 'description', 'long_description', 'wrap_long_description', 'usage'),
'query' => Thor::Command.new('query', 'description', 'long_description', 'wrap_long_description', 'usage'),
'version' => Thor::Command.new('version', 'description', 'long_description', 'wrap_long_description', 'usage'),
'list_block_groups' => Thor::Command.new('list_block_groups', 'description', 'wrap_long_description',
'long_description', 'usage'),
'list_cache_groups' => Thor::Command.new('list_cache_groups', 'description', 'wrap_long_description',
'long_description', 'usage') }
end

let(:map) do
Expand Down

0 comments on commit 3c43f9e

Please sign in to comment.