~jan0sch/smederee
Showing details for patch 3bcfdad7f45ecb4f8a61851474829a9439328e28.
diff -rN -u old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala --- old-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala 2025-01-13 11:59:51.043627949 +0000 +++ new-smederee/modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala 2025-01-13 11:59:51.043627949 +0000 @@ -31,7 +31,7 @@ val darcsBinary = Paths.get("darcs") @nowarn("msg=discarded non-Unit value.*") - val tempWorkingDirectory = ResourceFixture( + val tempWorkingDirectory = ResourceFunFixture( Resource.make(IO(Files.createTempDirectory("darcs-cmd-test-").toAbsolutePath()))(path => IO(deleteDirectory(path)) ) diff -rN -u old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala --- old-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala 2025-01-13 11:59:51.043627949 +0000 +++ new-smederee/modules/hub/src/test/scala/de/smederee/ssh/SshServerProviderTest.scala 2025-01-13 11:59:51.047627956 +0000 @@ -41,7 +41,7 @@ )(_ => IO.unit) ) - val freePort = ResourceFixture(Resource.make(IO(findFreePort()))(_ => IO.unit)) + val freePort = ResourceFunFixture(Resource.make(IO(findFreePort()))(_ => IO.unit)) override def munitFixtures = List(repositoriesDirectory, serverKeyFile)