Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/src/test/scala/dissonance/TestUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import java.nio.file.Path

import cats.effect.IO
import fs2.io.file.Files
import fs2.text

object TestUtils {
def readFileFromResource(path: String): fs2.Stream[IO, String] = {
Files[IO]
.readAll(Path.of(getClass.getResource(path).toURI), 4096)
.through(fs2.text.utf8Decode)
.through(text.utf8.decode)
.through(fs2.text.lines)
.dropLastIf(_.isEmpty)
}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object Dependencies {
val circe = "0.13.0"
val ciris = "2.0.0-RC2"
val enumeratum = "1.6.1"
val fs2 = "3.0.1"
val fs2 = "3.10.1"
val http4s = "1.0.0-M21"
val newtype = "0.4.4"
val refined = "0.9.24"
Expand Down