From a507a199f7f8cc8abca1abac534fe8615abe7081 Mon Sep 17 00:00:00 2001 From: Scalameta Bot Date: Mon, 16 Sep 2024 01:11:50 +0000 Subject: [PATCH 1/2] Update munit, munit-diff to 1.0.2 --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 24bcebc..83f01c6 100644 --- a/build.sbt +++ b/build.sbt @@ -125,8 +125,8 @@ lazy val munitScalacheck = crossProject(JSPlatform, JVMPlatform, NativePlatform) sharedSettings, libraryDependencies ++= Seq( "org.scalacheck" %%% "scalacheck" % "1.18.1", - "org.scalameta" %%% "munit-diff" % "1.0.1", - "org.scalameta" %%% "munit" % "1.0.1" + "org.scalameta" %%% "munit-diff" % "1.0.2", + "org.scalameta" %%% "munit" % "1.0.2" ) ) .jvmSettings( From 146a369dc42142639f97dabc5ca895deaac54255 Mon Sep 17 00:00:00 2001 From: tgodzik Date: Mon, 16 Sep 2024 18:52:03 +0200 Subject: [PATCH 2/2] bugfix: Fix tests after changes in munit --- .../src/main/scala/munit/ScalaCheckFrameworkSuite.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala b/tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala index 15f3468..a204ba7 100644 --- a/tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala +++ b/tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala @@ -51,7 +51,7 @@ object ScalaCheckFrameworkSuite extends FrameworkTest( classOf[ScalaCheckFrameworkSuite], """|==> success munit.ScalaCheckFrameworkSuite.boolean check (true) - |==> failure munit.ScalaCheckFrameworkSuite.boolean check (false) - /scala/munit/ScalaCheckFrameworkSuite.scala:18 + |==> failure munit.ScalaCheckFrameworkSuite.boolean check (false) - tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala:18 |17: |18: property("boolean check (false)") { |19: forAll { (n: Int) => scala.math.sqrt(n * n) == n } @@ -66,7 +66,7 @@ object ScalaCheckFrameworkSuite |> ARG_0_ORIGINAL: 2147483647 |==> success munit.ScalaCheckFrameworkSuite.tagged |==> success munit.ScalaCheckFrameworkSuite.assertions (true) - |==> failure munit.ScalaCheckFrameworkSuite.assertions (false) - /scala/munit/ScalaCheckFrameworkSuite.scala:36 + |==> failure munit.ScalaCheckFrameworkSuite.assertions (false) - tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala:36 |35: assertEquals(n * 1, n) |36: assertEquals(n * n, n) |37: assertEquals(n + 0, n)