- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEnvVarUsage (0.11 sec)
-
src/time/zoneinfo_test.go
"os" "reflect" "testing" "time" ) func init() { if time.ZoneinfoForTesting() != nil { panic(fmt.Errorf("zoneinfo initialized before first LoadLocation")) } } func TestEnvVarUsage(t *testing.T) { time.ResetZoneinfoForTesting() const testZoneinfo = "foo.zip" const env = "ZONEINFO" t.Setenv(env, testZoneinfo) // Result isn't important, we're testing the side effect of this command
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 13 17:06:56 UTC 2023 - 9.9K bytes - Viewed (0)