- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestClearenv (0.09 sec)
-
src/os/env_test.go
} if err := Unsetenv(testKey); err != nil { t.Fatalf("Unsetenv: %v", err) } if set() { t.Fatal("Unsetenv didn't clear TestUnsetenv") } } func TestClearenv(t *testing.T) { const testKey = "GO_TEST_CLEARENV" const testValue = "1" // reset env defer func(origEnv []string) { for _, pair := range origEnv {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 04 15:31:54 UTC 2023 - 5K bytes - Viewed (0)