From 99ca2a3405141c28ca2d6a1ccedd7b8a023ae990 Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Mon, 1 Jan 2024 20:33:57 +0100 Subject: [PATCH] Fix tests --- src/test/tests.scala | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/tests.scala b/src/test/tests.scala index 23df4ef..1b9ca19 100644 --- a/src/test/tests.scala +++ b/src/test/tests.scala @@ -20,6 +20,7 @@ import anticipation.* import gossamer.* import larceny.* import perforate.* +import vacuous.* import probably.* import rudiments.* @@ -279,14 +280,14 @@ object Tests extends Suite(t"Rudiments Tests"): Optional(x) .assert(_ == "") - test(t"Convert an option to a maybe"): + test(t"Convert an option to an optional"): val x: Option[Int] = Some(42) - x.maybe + x.optional .assert(_ == 42) - test(t"Convert an empty Option to a maybe"): + test(t"Convert an empty Option to an optional"): val x: Option[Int] = None - x.maybe + x.optional .assert(_ == Unset) test(t"Presume a value for an empty Option"):