From a183b30f36a51fc703800d942cc21d0dba733adc Mon Sep 17 00:00:00 2001
From: Docusaurus bot
Use FunFixture.map2
to compose multiple fixtures into a single fixture.
// Fixture with access to two temporary files.
val files2 = FunFixture.map2(files, files)
-// files2: FunFixture[(Path, Path)] = munit.FunFixtures$FunFixture@6739e986
+// files2: FunFixture[(Path, Path)] = munit.FunFixtures$FunFixture@55b1eb37
files2.test("two") {
case (file1, file2) =>
assertNotEquals(file1, file2)
diff --git a/docs/getting-started.html b/docs/getting-started.html
index 81ac1c84..13546b6d 100644
--- a/docs/getting-started.html
+++ b/docs/getting-started.html
@@ -79,7 +79,7 @@
Quick start
sbt:
-libraryDependencies += "org.scalameta" %% "munit" % "1.0.3" % Test
+libraryDependencies += "org.scalameta" %% "munit" % "1.0.4" % Test
// Use %%% for non-JVM projects.
If you are using a version of sbt lower than 1.5.0, you will also need to add:
@@ -89,7 +89,7 @@ object test extends ScalaTests with TestModule.Munit {
override def ivyDeps =
Agg(
- ivy"org.scalameta::munit::1.0.3"
+ ivy"org.scalameta::munit::1.0.4"
)
}
@@ -97,7 +97,7 @@ <dependency>
<groupId>org.scalameta</groupId>
<artifactId>munit_3</artifactId>
- <version>1.0.3</version>
+ <version>1.0.4</version>
<scope>test</scope>
</dependency>
diff --git a/docs/integrations/scalacheck.html b/docs/integrations/scalacheck.html
index d68cd0fc..69a1aa14 100644
--- a/docs/integrations/scalacheck.html
+++ b/docs/integrations/scalacheck.html
@@ -67,7 +67,7 @@
ScalaCheck support is provided as a separate module. You can add it to your build via:
-libraryDependencies += "org.scalameta" %% "munit-scalacheck" % "1.0.3" % Test
+libraryDependencies += "org.scalameta" %% "munit-scalacheck" % "1.0.4" % Test
You can then extend ScalaCheckSuite
and write ScalaCheck property tests:
import munit.ScalaCheckSuite