Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Nov 24, 2023
1 parent e7876ca commit c939ca3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c939ca3

Please sign in to comment.