aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2022-06-14 10:17:32 -0400
committerEduardo Julian2022-06-14 10:17:32 -0400
commit9a835bde8908e4ebd1c8972211acadc5895d720a (patch)
treec4bd81cfff7357a3895389a1544eaa66230203ec /stdlib/source/test
parentc4d938ebb2f5245b4c3faa22c4f217e7e818589f (diff)
De-sigil-ification: suffix : [Part 8]
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/ffi.jvm.lux14
-rw-r--r--stdlib/source/test/lux/ffi.old.lux4
2 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux
index e2f50a5e6..146fb5683 100644
--- a/stdlib/source/test/lux/ffi.jvm.lux
+++ b/stdlib/source/test/lux/ffi.jvm.lux
@@ -198,7 +198,7 @@
/.null?
not)))
(~~ (with_template [<object> <primitive> <jvm#value> <jvm#=>
- <lux#value> <as> <of> <lux#=>]
+ <lux#value> <as> <of> <lux#=>]
[(_.coverage [<object> <primitive>]
(|> <jvm#value>
(is <object>)
@@ -262,35 +262,35 @@
(type#= /.Character (/.type char)))))
))))
-(/.interface: test/TestInterface0
+(/.interface test/TestInterface0
([] actual0 [] java/lang/Long))
(/.import test/TestInterface0
"[1]::[0]"
(actual0 [] java/lang/Long))
-(/.interface: test/TestInterface1
+(/.interface test/TestInterface1
([] actual1 [java/lang/Boolean] java/lang/Long "throws" [java/lang/Throwable]))
(/.import test/TestInterface1
"[1]::[0]"
(actual1 [java/lang/Boolean] "try" java/lang/Long))
-(/.interface: test/TestInterface2
+(/.interface test/TestInterface2
([a] actual2 [a] a))
(/.import test/TestInterface2
"[1]::[0]"
([a] actual2 [a] a))
-(/.interface: (test/TestInterface3 a)
+(/.interface (test/TestInterface3 a)
([] actual3 [] a))
(/.import (test/TestInterface3 a)
"[1]::[0]"
(actual3 [] a))
-(/.interface: test/TestInterface4
+(/.interface test/TestInterface4
([] actual4 [long long] long))
(/.import test/TestInterface4
@@ -369,7 +369,7 @@
(/.of_long actual_right)))))]
(i.= expected
(/.of_long (test/TestInterface4::actual4 left right object/4))))]]
- (_.coverage [/.interface: /.object]
+ (_.coverage [/.interface /.object]
(and example/0!
example/1!
example/2!
diff --git a/stdlib/source/test/lux/ffi.old.lux b/stdlib/source/test/lux/ffi.old.lux
index 542c03d34..b00020c6c 100644
--- a/stdlib/source/test/lux/ffi.old.lux
+++ b/stdlib/source/test/lux/ffi.old.lux
@@ -60,7 +60,7 @@
(upC [] void)
(downC [] void))
-(/.interface: TestInterface
+(/.interface TestInterface
([] current [] java/lang/Long "throws" [java/lang/Exception])
([] up [] test/lux/ffi/TestInterface "throws" [java/lang/Exception])
([] down [] test/lux/ffi/TestInterface "throws" [java/lang/Exception]))
@@ -219,7 +219,7 @@
(test/lux/ffi/TestClass::downC))
test/lux/ffi/TestClass::currentC
(i.= (i.+ increase counter))))
- (_.coverage [/.interface: /.object]
+ (_.coverage [/.interface /.object]
(|> (..test_object increase counter)
test/lux/ffi/TestInterface::up
test/lux/ffi/TestInterface::up