aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/ffi.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/ffi.jvm.lux')
-rw-r--r--stdlib/source/test/lux/ffi.jvm.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux
index 24c4c6f11..55c812d72 100644
--- a/stdlib/source/test/lux/ffi.jvm.lux
+++ b/stdlib/source/test/lux/ffi.jvm.lux
@@ -199,10 +199,10 @@
))
(_.cover [/.cannot_cast_to_non_object]
(text.contains? (get@ #exception.label /.cannot_cast_to_non_object)
- (macro_error (/.:cast boolean (: /.Boolean boolean)))))
- (_.cover [/.:cast]
+ (macro_error (/.:as boolean (: /.Boolean boolean)))))
+ (_.cover [/.:as]
(|> string
- (/.:cast java/lang/Object)
+ (/.:as java/lang/Object)
(same? (:as java/lang/Object string))))
(_.cover [/.type]
(and (and (type\= /.Boolean (/.type java/lang/Boolean))