1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

spec: skip specs where set TZ environment variable for WASI

WASI doesn't respect TZ env var for now
This commit is contained in:
Yuta Saito 2022-02-28 03:03:55 +00:00
parent 7023b3d394
commit e9553a8cac
Notes: git 2022-03-17 17:45:05 +09:00

View file

@ -25,6 +25,7 @@ def new_datetime(opts = {})
end
def with_timezone(name, offset = nil, daylight_saving_zone = "")
skip "WASI doesn't have TZ concept" if PlatformGuard.wasi?
zone = name.dup
if offset