Skip to content

Commit 39dd46c

Browse files
committed
Fix linting issue
1 parent 52ebf16 commit 39dd46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

step/context_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type config struct {
8585

8686
func TestCtxState_load(t *testing.T) {
8787
contextsDir := t.TempDir()
88-
os.Setenv(HomeEnv, contextsDir)
88+
t.Setenv(HomeEnv, contextsDir)
8989

9090
ctx1ConfigDirectory := filepath.Join(contextsDir, ".step", "authorities", "ctx1", "config")
9191
err := os.MkdirAll(ctx1ConfigDirectory, 0o777)

0 commit comments

Comments
 (0)