From d381664baeba13fb7f1181bb63af310c09ddf768 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Mon, 14 Aug 2023 10:45:14 +0900 Subject: [PATCH] reduce "-source:3.0-migration" --- build.sbt | 1 - jvm/src/test/scala/org/atnos/eff/FutureEffectSpec.scala | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 261230fa..865ea642 100644 --- a/build.sbt +++ b/build.sbt @@ -84,7 +84,6 @@ lazy val all = crossProject(JSPlatform, JVMPlatform, NativePlatform) .jvmSettings(notesSettings) .settings( effSettings, - scala3migrationOption(Test), ) .nativeSettings(commonNativeSettings) .dependsOn( diff --git a/jvm/src/test/scala/org/atnos/eff/FutureEffectSpec.scala b/jvm/src/test/scala/org/atnos/eff/FutureEffectSpec.scala index b0b00b40..9a4e1b0a 100644 --- a/jvm/src/test/scala/org/atnos/eff/FutureEffectSpec.scala +++ b/jvm/src/test/scala/org/atnos/eff/FutureEffectSpec.scala @@ -97,7 +97,7 @@ class FutureEffectSpec(implicit ee: ExecutionEnv) extends Specification with Sca val action = list.traverseA(i => chooseFrom[U, Int](List(1)) >> futureDelay[U, String](i.toString)) val x = action.runChoose[List].runOption.map(_.map(_.flatten)).runSequential - Await.result(x, 20.seconds) must beSome(list.map(_.toString)) + Await.result(x, 20.seconds) must_== Some(list.map(_.toString)) } def e6 = {