From dbdf0997411a9c123afd899351c9664b8259efb6 Mon Sep 17 00:00:00 2001 From: Daniel Urban Date: Wed, 6 Nov 2024 02:21:19 +0100 Subject: [PATCH] WIP: fix failing tests --- core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala b/core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala index f172e7b4..203a070b 100644 --- a/core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala +++ b/core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala @@ -270,6 +270,7 @@ trait RefLikeSpec[F[_]] extends BaseSpecAsyncF[F] { this: McasImplSpec => test("Regular Ref shouldn't have .withListeners") { for { r <- newRef("a") + _ <- F.delay(assume(r.isInstanceOf[MemoryLocation[_]])) loc <- F.delay(r.asInstanceOf[MemoryLocation[String]]) e = Either.catchOnly[UnsupportedOperationException] { loc.withListeners } _ <- assertF(e.isLeft)