From c939ca3d83283cb3cf8b6436e4154071541f248f Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Fri, 24 Nov 2023 07:41:28 +0100 Subject: [PATCH] Fix test --- src/test/tests.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/tests.scala b/src/test/tests.scala index 57f110c..314f879 100644 --- a/src/test/tests.scala +++ b/src/test/tests.scala @@ -241,8 +241,8 @@ object Tests extends Suite(t"Rudiments Tests"): setInt.unset .assert(_ == false) - test(t"Unsafely cast a set value"): - val x: Int = setInt.cast(using Unsafe) + test(t"Unsafely vouch a set value"): + val x: Int = setInt.vouch(using Unsafe) x .assert(_ == 42)