From d0e9519fcb61926883ac434f8f75f0beb25670a0 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Sun, 17 Nov 2024 13:13:40 +1100 Subject: [PATCH] Make tests pass --- .../shared/src/test/scala/zio/prelude/data/OptionalSpec.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core-tests/shared/src/test/scala/zio/prelude/data/OptionalSpec.scala b/core-tests/shared/src/test/scala/zio/prelude/data/OptionalSpec.scala index 035d19ed6..3f4d96798 100644 --- a/core-tests/shared/src/test/scala/zio/prelude/data/OptionalSpec.scala +++ b/core-tests/shared/src/test/scala/zio/prelude/data/OptionalSpec.scala @@ -3,6 +3,7 @@ package zio.prelude.data import zio.Scope import zio.prelude.ZIOBaseSpec import zio.prelude.data.Optional +import zio.test.TestAspect.exceptScala212 import zio.test.{Spec, TestEnvironment, assertTrue} object OptionalSpec extends ZIOBaseSpec { @@ -16,6 +17,6 @@ object OptionalSpec extends ZIOBaseSpec { assertTrue(result == List(1L, 2L, 3L)) } - ) + ) @@ exceptScala212 }