We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa349e commit b194891Copy full SHA for b194891
cmd/clusterctl/cmd/plugin_test.go
@@ -42,8 +42,7 @@ func Test_plugin(t *testing.T) {
42
return
43
}
44
g := NewWithT(t)
45
- tmpDir := os.TempDir()
46
- defer os.Remove(tmpDir)
+ tmpDir := t.TempDir()
47
48
// Create a bash based plugin used for the test which gets added to the PATH variable.
49
pluginPath := filepath.Join(tmpDir, "clusterctl-foo")
0 commit comments