Skip to content

Commit

Permalink
WIP: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Nov 6, 2024
1 parent 4c1d005 commit dbdf099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/shared/src/test/scala/dev/tauri/choam/RefSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dbdf099

Please sign in to comment.