diff options
-rw-r--r-- | test/rubygems/test_gem_commands_help_command.rb | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -18,7 +18,7 @@ class TestGemCommandsHelpCommand < Gem::TestCase def test_gem_help_bad util_gem 'bad' do |out, err| assert_equal('', out) - assert_match "Unknown command bad", err end end @@ -36,12 +36,9 @@ class TestGemCommandsHelpCommand < Gem::TestCase mgr.command_names.each do |cmd| assert_match(/\s+#{cmd}\s+\S+/, out) end - if defined?(OpenSSL::SSL) then - assert_empty err - - refute_match 'No command found for ', out - end end end |