diff --git a/domains-cats/build.sbt b/domains-cats/build.sbt index a17c5dfe..19685034 100644 --- a/domains-cats/build.sbt +++ b/domains-cats/build.sbt @@ -4,7 +4,7 @@ libraryDependencies += "org.typelevel" %%% "cats-free" % "2.0.0" % Optional // F libraryDependencies += "org.typelevel" %%% "cats-core" % "2.0.0" -libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.8" % Test +libraryDependencies += "org.scalatest" %%% "scalatest" % "3.2.2" % Test libraryDependencies += "com.thoughtworks.dsl" %%% "keywords-catch" % "1.5.2" diff --git a/domains-cats/src/test/scala/com/thoughtworks/dsl/domains/catsSpec.scala b/domains-cats/src/test/scala/com/thoughtworks/dsl/domains/catsSpec.scala index f2de838c..59c2c976 100644 --- a/domains-cats/src/test/scala/com/thoughtworks/dsl/domains/catsSpec.scala +++ b/domains-cats/src/test/scala/com/thoughtworks/dsl/domains/catsSpec.scala @@ -1,14 +1,15 @@ package com.thoughtworks.dsl.domains -import org.scalatest.{FreeSpec, Matchers} import _root_.cats.instances.stream._ import com.thoughtworks.dsl.keywords.{Monadic, Shift, Yield} import com.thoughtworks.dsl.domains.cats._ +import org.scalatest.freespec.AnyFreeSpec +import org.scalatest.matchers.should.Matchers /** * @author 杨博 (Yang Bo) */ -class catsSpec extends FreeSpec with Matchers { +class catsSpec extends AnyFreeSpec with Matchers { "Given a continuation that uses Yield and Monadic expressions" - {