aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/ffi.jvm.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux
index 4b924b6a6..e2f50a5e6 100644
--- a/stdlib/source/test/lux/ffi.jvm.lux
+++ b/stdlib/source/test/lux/ffi.jvm.lux
@@ -319,9 +319,9 @@
[] (actual1 self [throw? java/lang/Boolean])
java/lang/Long
"throws" [java/lang/Throwable]
- (if (/.of_boolean throw?)
- (panic! "YOLO")
- (/.as_long (.int expected)))))
+ (if (not (/.of_boolean throw?))
+ (/.as_long (.int expected))
+ (panic! "YOLO"))))
example/1!
(and (case (test/TestInterface1::actual1 (/.as_boolean false) object/1)
{try.#Success actual}
@@ -401,9 +401,9 @@
(test/TestInterface1 [] (actual1 self [throw? java/lang/Boolean])
java/lang/Long
"throws" [java/lang/Throwable]
- (if (/.of_boolean throw?)
- (panic! "YOLO")
- ::value)))
+ (if (not (/.of_boolean throw?))
+ ::value
+ (panic! "YOLO"))))
(/.import test/TestClass1
"[1]::[0]"