aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/ffi.js.lux4
-rw-r--r--stdlib/source/test/lux/ffi.lua.lux4
-rw-r--r--stdlib/source/test/lux/ffi.py.lux4
3 files changed, 9 insertions, 3 deletions
diff --git a/stdlib/source/test/lux/ffi.js.lux b/stdlib/source/test/lux/ffi.js.lux
index b697c4b66..2a30d0464 100644
--- a/stdlib/source/test/lux/ffi.js.lux
+++ b/stdlib/source/test/lux/ffi.js.lux
@@ -101,7 +101,9 @@
"js object null?"
not))
(_.cover [/.function]
- (|> (/.function [input/0] input/0)
+ (|> (/.function (_ [input/0 Nat])
+ Int
+ (.int input/0))
"js object null?"
not))
(_.cover [/.on_browser? /.on_node_js? /.on_nashorn?]
diff --git a/stdlib/source/test/lux/ffi.lua.lux b/stdlib/source/test/lux/ffi.lua.lux
index 8639e374d..4c0a6aed0 100644
--- a/stdlib/source/test/lux/ffi.lua.lux
+++ b/stdlib/source/test/lux/ffi.lua.lux
@@ -50,7 +50,9 @@
))))
(_.cover [/.Function /.function]
(exec
- (|> (/.function [input/0] input/0)
+ (|> (/.function (_ [input/0 Nat])
+ Int
+ (.int input/0))
(: /.Function)
(: (Ex (_ a) (/.Object a))))
true))
diff --git a/stdlib/source/test/lux/ffi.py.lux b/stdlib/source/test/lux/ffi.py.lux
index 911ea1c82..ec8381e92 100644
--- a/stdlib/source/test/lux/ffi.py.lux
+++ b/stdlib/source/test/lux/ffi.py.lux
@@ -53,7 +53,9 @@
))))
(_.cover [/.Function /.function]
(exec
- (|> (/.function [input/0] input/0)
+ (|> (/.function (_ [input/0 Nat])
+ Int
+ (.int input/0))
(: /.Function)
(: (Ex (_ a) (/.Object a))))
true))