test/rubygems/test_gem_command.rb in rubygems-update-2.6.14 vs test/rubygems/test_gem_command.rb in rubygems-update-2.7.0
- old
+ new
@@ -168,10 +168,10 @@
options[:help] = true
end
@cmd.add_option('-f', '--file FILE', 'File option') do |value, options|
options[:help] = true
end
- @cmd.add_option('--silent', 'Silence rubygems output') do |value, options|
+ @cmd.add_option('--silent', 'Silence RubyGems output') do |value, options|
options[:silent] = true
end
assert @cmd.handles?(['-x'])
assert @cmd.handles?(['-h'])
assert @cmd.handles?(['-h', 'command'])