Skip to content

Commit

Permalink
Change to standard access notation for os permissions in args_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcg committed Feb 18, 2025
1 parent 8e75fe8 commit a187cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cmdutil/args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,18 @@ func createTestDir(t *testing.T) (cleanupFn func()) {
}

// Make subdirectories
err = os.Mkdir(filepath.Join(rootDir, "subDir1"), 0o755)
err = os.Mkdir(filepath.Join(rootDir, "subDir1"), 0755)
if err != nil {
t.Fatal(err)
}

err = os.Mkdir(filepath.Join(rootDir, "subDir2"), 0o755)
err = os.Mkdir(filepath.Join(rootDir, "subDir2"), 0755)
if err != nil {
t.Fatal(err)
}

// Make Files
err = os.WriteFile(filepath.Join(rootDir, "rootFile.txt"), []byte(""), 0o644)
err = os.WriteFile(filepath.Join(rootDir, "rootFile.txt"), []byte(""), 0644)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit a187cb1

Please sign in to comment.