mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
77b1d88513
commit
c2cc5fc961
1 changed files with 1 additions and 3 deletions
|
@ -419,15 +419,13 @@ dependencies: []
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_emits_zulu_timestamps_properly
|
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)
|
t = Time.utc(2012, 3, 12)
|
||||||
@a2.date = t
|
@a2.date = t
|
||||||
|
|
||||||
yaml = with_psych { @a2.to_yaml }
|
yaml = with_psych { @a2.to_yaml }
|
||||||
|
|
||||||
assert_match %r!date: 2012-03-12 00:00:00\.000000000 Z!, 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
|
def test_initialize
|
||||||
spec = Gem::Specification.new do |s|
|
spec = Gem::Specification.new do |s|
|
||||||
|
|
Loading…
Add table
Reference in a new issue