From 2db64847561cd7de8d828b04cc3f4d634d293fa7 Mon Sep 17 00:00:00 2001 From: Art Shendrik Date: Tue, 26 Nov 2024 20:45:32 +0000 Subject: [PATCH] test(RandomAccessDataStreamFactory): remove unreliable test Signed-off-by: Art Shendrik --- .../fluxo/io/rad/RandomAccessDataStreamFactoryTest.kt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fluxo-io-rad/src/jvmTest/kotlin/fluxo/io/rad/RandomAccessDataStreamFactoryTest.kt b/fluxo-io-rad/src/jvmTest/kotlin/fluxo/io/rad/RandomAccessDataStreamFactoryTest.kt index 0d85e50..e92e416 100644 --- a/fluxo-io-rad/src/jvmTest/kotlin/fluxo/io/rad/RandomAccessDataStreamFactoryTest.kt +++ b/fluxo-io-rad/src/jvmTest/kotlin/fluxo/io/rad/RandomAccessDataStreamFactoryTest.kt @@ -2,10 +2,7 @@ package fluxo.io.rad import java.io.DataInputStream import java.io.File -import java.io.FileNotFoundException import java.io.RandomAccessFile -import kotlin.test.Test -import kotlin.test.assertFailsWith import org.junit.runner.RunWith import org.junit.runners.Parameterized @@ -32,12 +29,4 @@ internal class RandomAccessDataStreamFactoryTest( { ByteChannelFactoryRadAccessor(it.length()) { RandomAccessFile(it, "r").channel } }, ).asList() } - - - @Test - fun fileExists() { - assertFailsWith { - factory(File("/does/not/exist")) - } - } }