aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
authorEduardo Julian2019-06-20 23:38:59 -0400
committerEduardo Julian2019-06-20 23:38:59 -0400
commitcf17b08c5d9b3aedc8aaa2b11456dcb69dec6049 (patch)
tree7ded5a1f866485223c34e1b97193aeb0b63b5456 /stdlib/source/test
parentfbc9f6f9186254263255f03a9378216adfbeaa0e (diff)
Moved "lux/world/binary" to "lux/data/binary".
Diffstat (limited to 'stdlib/source/test')
-rw-r--r--stdlib/source/test/lux/data.lux2
-rw-r--r--stdlib/source/test/lux/data/binary.lux (renamed from stdlib/source/test/lux/world/binary.lux)0
-rw-r--r--stdlib/source/test/lux/target/jvm.lux2
-rw-r--r--stdlib/source/test/lux/world.lux5
-rw-r--r--stdlib/source/test/lux/world/file.lux10
5 files changed, 9 insertions, 10 deletions
diff --git a/stdlib/source/test/lux/data.lux b/stdlib/source/test/lux/data.lux
index a29358b6b..65d43e5e6 100644
--- a/stdlib/source/test/lux/data.lux
+++ b/stdlib/source/test/lux/data.lux
@@ -2,6 +2,7 @@
[lux #*
["_" test (#+ Test)]]
["." / #_
+ ["#." binary]
["#." bit]
["#." color]
["#." error]
@@ -53,6 +54,7 @@
(def: #export test
Test
($_ _.and
+ /binary.test
/bit.test
/color.test
/error.test
diff --git a/stdlib/source/test/lux/world/binary.lux b/stdlib/source/test/lux/data/binary.lux
index 8fb17114e..8fb17114e 100644
--- a/stdlib/source/test/lux/world/binary.lux
+++ b/stdlib/source/test/lux/data/binary.lux
diff --git a/stdlib/source/test/lux/target/jvm.lux b/stdlib/source/test/lux/target/jvm.lux
index e5032ed44..8176756cc 100644
--- a/stdlib/source/test/lux/target/jvm.lux
+++ b/stdlib/source/test/lux/target/jvm.lux
@@ -8,6 +8,7 @@
[security
["!" capability]]]
[data
+ [binary (#+ Binary)]
["." error (#+ Error)]
["." text
["%" format (#+ format)]]
@@ -17,7 +18,6 @@
["." dictionary]
["." row]]]
[world
- [binary (#+ Binary)]
["." file (#+ File)]]
[math
["r" random (#+ Random) ("#@." monad)]]
diff --git a/stdlib/source/test/lux/world.lux b/stdlib/source/test/lux/world.lux
index bfd9e6194..e46eecda3 100644
--- a/stdlib/source/test/lux/world.lux
+++ b/stdlib/source/test/lux/world.lux
@@ -2,13 +2,10 @@
[lux #*
["_" test (#+ Test)]]
["." / #_
- ["#." binary]
- ["#." file]
- ])
+ ["#." file]])
(def: #export test
Test
($_ _.and
- /binary.test
/file.test
))
diff --git a/stdlib/source/test/lux/world/file.lux b/stdlib/source/test/lux/world/file.lux
index c0c3f7d18..451f4671b 100644
--- a/stdlib/source/test/lux/world/file.lux
+++ b/stdlib/source/test/lux/world/file.lux
@@ -11,6 +11,7 @@
[security
["!" capability]]]
[data
+ ["." binary (#+ Binary)]
["." error (#+ Error)]
["." text]
[number
@@ -19,13 +20,12 @@
["." list]]]
[time
["." instant]
- ["." duration]]
- [world
- ["." binary (#+ Binary)]]]
+ ["." duration]]]
{1
["." / (#+ Path File)]}
- [//
- ["_." binary]])
+ [///
+ [data
+ ["_." binary]]])
(def: truncate-millis
(let [millis +1,000]