summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 13:48:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 13:48:43 +0000
commitc2cc5fc9618cb408f13e8ec16060274d3cbe6019 (patch)
treee6d1346c74bdfc84bbed7eb41b27910ea187b5d0 /test
parent77b1d88513cb4aea0183fef256dc2d7f168a2b4b (diff)
ignore unnecessary test
* test/rubygems/test_gem_specification.rb (test_emits_zulu_timestamps_properly): ignore unnecessary test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_specification.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 20c8d71ff1..ce9212e751 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -419,15 +419,13 @@ dependencies: []
end
def test_emits_zulu_timestamps_properly
- skip "bug only on 1.9.2" unless RUBY_VERSION =~ /1\.9\.2/
-
t = Time.utc(2012, 3, 12)
@a2.date = t
yaml = with_psych { @a2.to_yaml }
assert_match %r!date: 2012-03-12 00:00:00\.000000000 Z!, yaml
- end
+ end if RUBY_VERSION =~ /1\.9\.2/
def test_initialize
spec = Gem::Specification.new do |s|