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 committed Dec 11, 2024
1 parent 63da87a commit 118f6c5
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 118f6c5

Please sign in to comment.