Skip to content

Commit

Permalink
apidiff: reduce file permissions in test
Browse files Browse the repository at this point in the history
Change-Id: I274cb27166bc5f86c8e977a381aef871d8987056
Reviewed-on: https://go-review.googlesource.com/c/exp/+/445577
TryBot-Result: Gopher Robot <[email protected]>
Run-TryBot: Jonathan Amsterdam <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
  • Loading branch information
jba committed Oct 26, 2022
1 parent 7603692 commit 32f3d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apidiff/apidiff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func splitIntoPackages(t *testing.T, dir string) (incompatibles, compatibles []s
if err := os.MkdirAll(filepath.Join(dir, "src", "apidiff"), 0700); err != nil {
t.Fatal(err)
}
if err := os.WriteFile(filepath.Join(dir, "src", "apidiff", "go.mod"), []byte("module apidiff\ngo 1.18\n"), 0666); err != nil {
if err := os.WriteFile(filepath.Join(dir, "src", "apidiff", "go.mod"), []byte("module apidiff\ngo 1.18\n"), 0600); err != nil {
t.Fatal(err)
}

Expand Down

0 comments on commit 32f3d56

Please sign in to comment.