path: root/test
diff options
authorYusuke Endoh <>2020-03-29 10:06:53 +0900
committerYusuke Endoh <>2020-03-29 10:06:53 +0900
commit87aebecdc23d4da2130af586bafa360973cef479 (patch)
treea52a5a050438d0d9f5dceed462fb9df3cf1e43cd /test
parent6379c6af4d424fe20a6e4d05f5aba7229ade48ec (diff)
spec/ruby/core/time/: Use near time for timezone test
` == (time_with_zone - 60*60).zone` fails when the time is immediately before the change of summer time. ``` 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')
0 files changed, 0 insertions, 0 deletions