bib: change octal literal prefix

Use `0o` instead of just `0` for better readability.
This commit is contained in:
bstrausser 2024-06-19 12:00:54 +02:00 committed by Simon de Vlieger
parent 2a89cb6739
commit 3cd7df7b13

View file

@ -32,7 +32,7 @@ func TestValidateCanRunTargetArchUnsupportedCanary(t *testing.T) {
func makeFakeCanary(t *testing.T, content string) {
tmpdir := t.TempDir()
t.Setenv("PATH", os.Getenv("PATH")+":"+tmpdir)
err := os.WriteFile(filepath.Join(tmpdir, "bib-canary-fakearch"), []byte(content), 0755)
err := os.WriteFile(filepath.Join(tmpdir, "bib-canary-fakearch"), []byte(content), 0o755)
assert.NoError(t, err)
}