zio.test.results.ResultFileOpsJson.scala Maven / Gradle / Ivy
package zio.test.results
import zio._
import java.io.IOException
private[test] trait ResultFileOps {
def write(content: => String, append: Boolean): ZIO[Any, IOException, Unit]
}
private[test] object ResultFileOps {
val live: ZLayer[Any, Nothing, ResultFileOps] =
ZLayer.succeed(
Json()
)
private[test] case class Json() extends ResultFileOps {
def write(content: => String, append: Boolean): ZIO[Any, IOException, Unit] =
ZIO.unit
}
}