Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use testify for more succinct tests #247

Merged
merged 7 commits into from
Mar 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix octal test text for readability
  • Loading branch information
jstaf committed Mar 4, 2022
commit 718b48e9b5aaba0eabc2fa4ac865b813dcf2cfdb
2 changes: 1 addition & 1 deletion fs/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func TestChmod(t *testing.T) {
require.NoError(t, os.Chmod(fname, 0777))
st, _ := os.Stat(fname)
if st.Mode() != 0777 {
t.Fatal("Mode of file was wrong, got", Octal(uint32(st.Mode())))
t.Fatalf("Mode of file was wrong, got %o instead!", st.Mode())
}
}

Expand Down