summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-22 09:34:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-22 09:34:59 +0000
commitb67bc8d722e9351b34e68ac77d397aead29961cc (patch)
tree445cb6c0eb544e31774419581ff0b8156ac8acb5 /test/rdoc
parent9e4ddb8f18ea3e88ae93ff669deb2bd1c0a372b7 (diff)
* test/date, test/rdoc: exclude tests dependent on unbundled libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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')