Skip to content

Commit ec65ea3

Browse files
committed
fix: lint
1 parent c19242b commit ec65ea3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cli/templatevariables_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
package cli
1+
package cli_test
22

33
import (
44
"os"
55
"path/filepath"
66
"testing"
77

8+
"github.com/coder/coder/v2/cli"
89
"github.com/stretchr/testify/require"
910
)
1011

@@ -39,12 +40,12 @@ func TestDiscoverVarsFiles(t *testing.T) {
3940

4041
for _, file := range testFiles {
4142
filePath := filepath.Join(tempDir, file)
42-
err := os.WriteFile(filePath, []byte(""), 0600)
43+
err := os.WriteFile(filePath, []byte(""), 0o600)
4344
require.NoError(t, err)
4445
}
4546

4647
// When
47-
found, err := DiscoverVarsFiles(tempDir)
48+
found, err := cli.DiscoverVarsFiles(tempDir)
4849
require.NoError(t, err)
4950

5051
// Then

0 commit comments

Comments
 (0)