Skip to content

Commit

Permalink
Fix test that fails on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
koperagen committed Jun 3, 2022
1 parent 946fde2 commit 6ebd2a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Write : TestBase() {
listOf(happyPersonsSheet, unhappyPersonsSheet).forEach { setStyles(it) }

// Save the result
wb.write(file.outputStream())
file.outputStream().use { wb.write(it) }
wb.close()
// SampleEnd
}
Expand Down

0 comments on commit 6ebd2a0

Please sign in to comment.