Skip to content

Commit

Permalink
Changed non-existant methods
Browse files Browse the repository at this point in the history
I forgot that `tempFile` does not exist anymore
  • Loading branch information
Hombre-x committed Aug 23, 2024
1 parent 76b199d commit 0b41b87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ object FileOsSpec extends SimpleIOSuite with Checkers {
Gen.size.flatMap(size => Gen.listOfN(size, Gen.alphaNumStr))

forall(contentGenerator) { contentsList =>
tempFile.use { path =>
withTempFile { path =>
for {
_ <- path.writeLines(contentsList)
readlns <- path.readLines
Expand Down

0 comments on commit 0b41b87

Please sign in to comment.