|author||Yusuke Endoh <firstname.lastname@example.org>||2020-03-29 10:06:53 +0900|
|committer||Yusuke Endoh <email@example.com>||2020-03-29 10:06:53 +0900|
spec/ruby/core/time/: Use near time for timezone test
`time_with_zone.zone.should == (time_with_zone - 60*60).zone` fails when the time is immediately before the change of summer time. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-master/log/20200328T232504Z.fail.html.gz ``` 1) Time#+ preserves time zone FAILED Expected "CET" == "CEST" to be truthy but was false ``` It is acceptable as it fails at most twice per year, but it would be good to use near time objects to reduce the possibility.
Diffstat (limited to 'test/-ext-')
0 files changed, 0 insertions, 0 deletions