summaryrefslogtreecommitdiff
path: root/test/-ext-/time/test_new.rb
AgeCommit message (Collapse)Author
2016-03-18* test/-ext-/time/test_new.rb (test_timespec_new): change a gmtoffodaira
test to a better one that does not depend on whether the current time is in summer time or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-16* test/-ext-/time/test_new.rb (test_timespec_new): Time#gmtoff valuesodaira
are the same only when both or neither of the Time objects are in summer time (daylight-saving time). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16Add frozen_string_literal: false for all filesnaruse
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-11time/test_new.rb: fix testsnobu
* test/-ext-/time/test_new.rb (test_timespec_new): fix for r52519. swap utc and localtime. * test/-ext-/time/test_new.rb (test_timespec_now): fix method name typo which has overwritten test_timespec_new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-10Add tests for rb_time_timespec_newnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e