aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/ffi.js.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/ffi.js.lux45
1 files changed, 24 insertions, 21 deletions
diff --git a/stdlib/source/test/lux/ffi.js.lux b/stdlib/source/test/lux/ffi.js.lux
index 6148aa47f..2a5748483 100644
--- a/stdlib/source/test/lux/ffi.js.lux
+++ b/stdlib/source/test/lux/ffi.js.lux
@@ -1,24 +1,26 @@
-(.require
- [library
- [lux (.except)
- [abstract
- [monad (.only do)]]
- [control
- ["[0]" try]]
- [data
- ["[0]" bit (.use "[1]#[0]" equivalence)]
- ["[0]" text (.use "[1]#[0]" equivalence)]]
- [math
- ["[0]" random (.only Random)]
- [number
- ["[0]" nat]
- ["[0]" frac]]]
- [test
- ["_" property (.only Test)]]]]
- [\\library
- ["[0]" /]]
- ["$[0]" /
- ["[1][0]" export]])
+(.`` (.`` (.require
+ [library
+ [lux (.except)
+ [abstract
+ [monad (.only do)]]
+ [control
+ ["[0]" try]]
+ [data
+ ["[0]" bit (.use "[1]#[0]" equivalence)]
+ ["[0]" text (.use "[1]#[0]" equivalence)]]
+ [math
+ ["[0]" random (.only Random)]
+ [number
+ ["[0]" nat]
+ ["[0]" frac]]]
+ [test
+ ["_" property (.only Test)]]]]
+ [\\library
+ ["[0]" /]]
+ ["$[0]" /
+ ["[1][0]" export]
+ (.,, (.for "JavaScript" (.,, (.these ["[1][0]" node_js]))
+ (.,, (.these))))])))
(/.import Uint8Array
"[1]::[0]")
@@ -164,4 +166,5 @@
(/.undefined? ("js object get" "my_yolo" it)))))
$/export.test
+ $/node_js.test
)))))