Skip to content

Commit

Permalink
Remove invalid test for writeChannel
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhham authored and e5l committed Dec 3, 2024
1 parent d8aae50 commit 1971db7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ktor-utils/jvm/test/io/ktor/tests/utils/FileChannelTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,4 @@ class FileChannelTest {
assertEquals("Hello", file.readText())
}

@Test
fun `writeChannel writes to file on flush`() = runTest {
val file = Files.createTempFile("file", "txt").toFile()
val ch = file.writeChannel()
ch.writeStringUtf8("Hello")
ch.flush()
assertEquals("Hello", file.readText())
}
}

0 comments on commit 1971db7

Please sign in to comment.