ruby-changes:46571
From: usa <ko1@a...>
Date: Fri, 12 May 2017 19:37:46 +0900 (JST)
Subject: [ruby-changes:46571] usa:r58686 (trunk): Windows does not know Unix style timezone
usa 2017-05-12 19:37:41 +0900 (Fri, 12 May 2017) New Revision: 58686 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58686 Log: Windows does not know Unix style timezone Modified files: trunk/spec/rubyspec/optional/capi/time_spec.rb Index: spec/rubyspec/optional/capi/time_spec.rb =================================================================== --- spec/rubyspec/optional/capi/time_spec.rb (revision 58685) +++ spec/rubyspec/optional/capi/time_spec.rb (revision 58686) @@ -34,7 +34,9 @@ describe "CApiTimeSpecs" do https://github.com/ruby/ruby/blob/trunk/spec/rubyspec/optional/capi/time_spec.rb#L34 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/