test/rubygems/test_gem_command.rb in rubygems-update-3.2.30 vs test/rubygems/test_gem_command.rb in rubygems-update-3.2.31

- old
+ new

@@ -116,10 +116,10 @@ def test_invoke_with_bad_options use_ui @ui do @cmd.when_invoked { true } - ex = assert_raise OptionParser::InvalidOption do + ex = assert_raise Gem::OptionParser::InvalidOption do @cmd.invoke('-zzz') end assert_match(/invalid option:/, ex.message) end