mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Windows does not know Unix style timezone
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0c16051114
commit
512db21900
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue