LEFT | RIGHT |
(Both sides are equal) |
1 // Copyright 2010 The Go Authors. All rights reserved. | 1 // Copyright 2010 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package os_test | 5 package os_test |
6 | 6 |
7 import ( | 7 import ( |
8 . "os" | 8 . "os" |
9 "reflect" | 9 "reflect" |
10 "strings" | 10 "strings" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 if !set() { | 87 if !set() { |
88 t.Error("Setenv didn't set TestUnsetenv") | 88 t.Error("Setenv didn't set TestUnsetenv") |
89 } | 89 } |
90 if err := Unsetenv(testKey); err != nil { | 90 if err := Unsetenv(testKey); err != nil { |
91 t.Fatalf("Unsetenv: %v", err) | 91 t.Fatalf("Unsetenv: %v", err) |
92 } | 92 } |
93 if set() { | 93 if set() { |
94 t.Fatal("Unsetenv didn't clear TestUnsetenv") | 94 t.Fatal("Unsetenv didn't clear TestUnsetenv") |
95 } | 95 } |
96 } | 96 } |
LEFT | RIGHT |