diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 10:37:41 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-12 10:37:41 +0000 |
commit | 512db219006842ff6b277efd8f5ebe15e8a86d8f (patch) | |
tree | e656dd78e991e73d5c38533d4ef520d95c2a8dde /spec/rubyspec | |
parent | 0c160511142233f076a6353784de99f3d73e183d (diff) | |
download | ruby-512db219006842ff6b277efd8f5ebe15e8a86d8f.tar.gz |
Windows does not know Unix style timezone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec')
-rw-r--r-- | spec/rubyspec/optional/capi/time_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/rubyspec/optional/capi/time_spec.rb b/spec/rubyspec/optional/capi/time_spec.rb index 21f408d52b..98b609e83e 100644 --- a/spec/rubyspec/optional/capi/time_spec.rb +++ b/spec/rubyspec/optional/capi/time_spec.rb @@ -34,7 +34,9 @@ describe "CApiTimeSpecs" do time = @s.rb_time_num_new(1232141421, nil) time.should be_an_instance_of(Time) time.to_i.should == 1232141421 - time.gmt_offset.should == 3600 + platform_is_not :windows do + time.gmt_offset.should == 3600 + end end end |