summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index e8f8621820..af6ffddf4a 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -6,8 +6,6 @@ class TestRDocRubygemsHook < Gem::TestCase
def setup
super
- skip 'requires RubyGems 1.9+' unless
- Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.9')
@a = quick_spec 'a'
@@ -197,5 +195,5 @@ class TestRDocRubygemsHook < Gem::TestCase
FileUtils.chmod 0755, @a.doc_dir
end
-end
+end if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.9')