Skip to content

Commit

Permalink
style: minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
70sh1 committed Apr 3, 2024
1 parent d057e73 commit c6679a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pathutils/pathutils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ func TestHasDuplicates(t *testing.T) {
{
in: []string{""},
expected: false,
}}
},
}
for _, tCase := range cases {
result := hasDuplicates(tCase.in)
require.Equal(t, tCase.expected, result)
Expand Down
2 changes: 1 addition & 1 deletion testutils/testutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ func TestFilesSetup() string {
tmpDir, err := os.MkdirTemp(".", "test-tmp-*")
PanicIfErr(err)

if err := os.Mkdir(filepath.Join(tmpDir, "dir1"), 0700); err != nil {
if err := os.Mkdir(filepath.Join(tmpDir, "dir1"), 0o700); err != nil {
panic(err)
}

Expand Down

0 comments on commit c6679a7

Please sign in to comment.