Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Aug 22, 2024
1 parent 37e3359 commit de3a123
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loadfile/loadfile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ func Test_LoadContext(t *testing.T) {

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

// create a file
filenamePrefix := "myfile"
f, err := os.CreateTemp(dirPath, filenamePrefix+"*")
f, err := os.CreateTemp(dirPath, filenamePrefix)
assert.NoError(t, err)
filePath := f.Name()
assert.NoError(t, f.Close())
Expand Down

0 comments on commit de3a123

Please sign in to comment.