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 | e33cda5afb15474aee5136e324b4ef4decde8b0c (patch) | |
tree | e656dd78e991e73d5c38533d4ef520d95c2a8dde /spec | |
parent | 778e779296a85cae6886c84d978d5ace686737bf (diff) | |
download | ruby-e33cda5afb15474aee5136e324b4ef4decde8b0c.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')
-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 |