Skip to content

Commit 6ebd2a0

Browse files
committed
Fix test that fails on windows
1 parent 946fde2 commit 6ebd2a0

File tree

1 file changed

+1
-1
lines changed
  • tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api

1 file changed

+1
-1
lines changed

Diff for: tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Write.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Write : TestBase() {
115115
listOf(happyPersonsSheet, unhappyPersonsSheet).forEach { setStyles(it) }
116116

117117
// Save the result
118-
wb.write(file.outputStream())
118+
file.outputStream().use { wb.write(it) }
119119
wb.close()
120120
// SampleEnd
121121
}

0 commit comments

Comments
 (0)