diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-08-29 17:38:59 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-09-01 20:00:13 +0900 |
commit | 4aa3491bd235fd16fbef7ba24181bc838aa29abb (patch) | |
tree | c441293e6e207730f0def10b86ad19623183b99a /test/rubygems/test_gem_commands_update_command.rb | |
parent | 185602e696980ba776465842fc0398eba2acb677 (diff) |
Skip RDoc related feature if Gem::RDoc is not available
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11491
Diffstat (limited to 'test/rubygems/test_gem_commands_update_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_update_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_update_command.rb b/test/rubygems/test_gem_commands_update_command.rb index 194ebb030a..642a62a373 100644 --- a/test/rubygems/test_gem_commands_update_command.rb +++ b/test/rubygems/test_gem_commands_update_command.rb @@ -506,7 +506,7 @@ class TestGemCommandsUpdateCommand < Gem::TestCase a2 = @specs["a-2"] assert_path_exist File.join(a2.doc_dir, "rdoc") - end + end if defined?(Gem::RDoc) def test_execute_named spec_fetcher do |fetcher| |