test/test_command_dsl.rb in cri-2.15.11 vs test/test_command_dsl.rb in cri-2.15.12

- old
+ new

@@ -284,10 +284,10 @@ name 'moo' usage 'dunno whatever' summary 'does stuff' description 'This command does a lot of stuff.' - param :foo, transform: ->(a) { a.upcase } + param :foo, transform: lambda(&:upcase) run do |_opts, args| $args_num = { foo: args[0] } $args_sym = { foo: args[:foo] } end