diff --git a/core/src/test/scala/dissonance/TestUtils.scala b/core/src/test/scala/dissonance/TestUtils.scala index a86fe37..386b777 100644 --- a/core/src/test/scala/dissonance/TestUtils.scala +++ b/core/src/test/scala/dissonance/TestUtils.scala @@ -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) } diff --git a/project/Dependencies.scala b/project/Dependencies.scala index ee166d0..386a1c8 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -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.2" val http4s = "1.0.0-M21" val newtype = "0.4.4" val refined = "0.9.24"