From a24578c6994a41fd5976764cb55b76e46230218f Mon Sep 17 00:00:00 2001 From: "J. Eduardo V. Morango" Date: Fri, 16 Aug 2024 19:52:27 -0300 Subject: [PATCH] warnings --- core/src/test/scala/fs2/io/ssh/ClientSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/test/scala/fs2/io/ssh/ClientSpec.scala b/core/src/test/scala/fs2/io/ssh/ClientSpec.scala index 0c04b9b..203e99d 100644 --- a/core/src/test/scala/fs2/io/ssh/ClientSpec.scala +++ b/core/src/test/scala/fs2/io/ssh/ClientSpec.scala @@ -34,6 +34,7 @@ import java.lang.{RuntimeException, String, System} import java.net.InetSocketAddress import java.nio.file.Paths import munit.CatsEffectSuite +import scala.annotation.nowarn // these are really more like integration tests // to run them locally, make sure you have things from @@ -69,6 +70,7 @@ class ClientSpec extends CatsEffectSuite with SshDockerService { finish(r.use(_ => Applicative[F].unit)) } + @nowarn final case class WrappedError(e: Client.Error) extends RuntimeException(e.toString) @@ -106,7 +108,6 @@ class ClientSpec extends CatsEffectSuite with SshDockerService { eit.value.map(a => assertEquals(a, Left(Client.Error.Authentication))) ) } - // beLeft(Client.Error.Authentication: Client.Error) }