Skip to content

Commit

Permalink
Inline variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Aug 22, 2024
1 parent de3a123 commit 5896eae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions loadfile/loadfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ func Test_LoadContext(t *testing.T) {
assert.NoError(t, os.MkdirAll(testdir, os.ModePerm))

// create a directory
dirPrefix := "mydir"
dirPath, err := os.MkdirTemp(testdir, dirPrefix)
dirPath, err := os.MkdirTemp(testdir, "mydir")
assert.NoError(t, err)

// create a file
Expand Down

0 comments on commit 5896eae

Please sign in to comment.