Skip to content

Commit d21032d

Browse files
committed
Revert "test: rollback to use env default TZ variable"
This reverts commit e61dab4.
1 parent e61dab4 commit d21032d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

baselib_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
)
88

99
func TestOsDateFormatUTCWithTwoParam(t *testing.T) {
10+
t.Setenv("TZ", "Asia/Tokyo")
1011
ls := NewState()
1112

1213
g := ls.GetGlobal("os")
@@ -81,6 +82,7 @@ func TestOsDateFormatUTCWithTwoParam(t *testing.T) {
8182
}
8283

8384
func TestOsDateFormatLocalWithTwoParam(t *testing.T) {
85+
t.Setenv("TZ", "Asia/Tokyo")
8486
ls := NewState()
8587

8688
g := ls.GetGlobal("os")

0 commit comments

Comments
 (0)