Skip to content

Commit b6cbeb5

Browse files
committed
chore(ut): fix lint warnings
1 parent 9da617b commit b6cbeb5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cli/ls_test.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ import (
3232
func TestListLocalVersions(t *testing.T) {
3333
tmpDir := t.TempDir()
3434

35-
os.Mkdir(filepath.Join(tmpDir, "1.25rc1"), 0755)
36-
os.Mkdir(filepath.Join(tmpDir, "1.24rc3"), 0755)
37-
os.Mkdir(filepath.Join(tmpDir, "1.18beta2"), 0755)
38-
os.Mkdir(filepath.Join(tmpDir, "1.19beta1"), 0755)
39-
os.Mkdir(filepath.Join(tmpDir, "1.24.4"), 0755)
40-
os.Mkdir(filepath.Join(tmpDir, "1.20.14"), 0755)
41-
os.Mkdir(filepath.Join(tmpDir, "1.20"), 0755)
42-
os.Mkdir(filepath.Join(tmpDir, "invalid_version"), 0755)
43-
os.WriteFile(filepath.Join(tmpDir, "not_a_directory"), []byte{}, 0644)
35+
_ = os.Mkdir(filepath.Join(tmpDir, "1.25rc1"), 0755)
36+
_ = os.Mkdir(filepath.Join(tmpDir, "1.24rc3"), 0755)
37+
_ = os.Mkdir(filepath.Join(tmpDir, "1.18beta2"), 0755)
38+
_ = os.Mkdir(filepath.Join(tmpDir, "1.19beta1"), 0755)
39+
_ = os.Mkdir(filepath.Join(tmpDir, "1.24.4"), 0755)
40+
_ = os.Mkdir(filepath.Join(tmpDir, "1.20.14"), 0755)
41+
_ = os.Mkdir(filepath.Join(tmpDir, "1.20"), 0755)
42+
_ = os.Mkdir(filepath.Join(tmpDir, "invalid_version"), 0755)
43+
_ = os.WriteFile(filepath.Join(tmpDir, "not_a_directory"), []byte{}, 0644)
4444

4545
tests := []struct {
4646
name string

0 commit comments

Comments
 (0)