Skip to content

Commit

Permalink
test(RandomAccessDataStreamFactory): remove unreliable test
Browse files Browse the repository at this point in the history
Signed-off-by: Art Shendrik <[email protected]>
  • Loading branch information
amal committed Nov 26, 2024
1 parent 4c7a332 commit 2db6484
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -32,12 +29,4 @@ internal class RandomAccessDataStreamFactoryTest(
{ ByteChannelFactoryRadAccessor(it.length()) { RandomAccessFile(it, "r").channel } },
).asList()
}


@Test
fun fileExists() {
assertFailsWith<FileNotFoundException> {
factory(File("/does/not/exist"))
}
}
}

0 comments on commit 2db6484

Please sign in to comment.