aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/world/file/watch.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/world/file/watch.lux')
-rw-r--r--stdlib/source/test/lux/world/file/watch.lux11
1 files changed, 6 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/world/file/watch.lux b/stdlib/source/test/lux/world/file/watch.lux
index 9977934a0..a56fce833 100644
--- a/stdlib/source/test/lux/world/file/watch.lux
+++ b/stdlib/source/test/lux/world/file/watch.lux
@@ -1,7 +1,6 @@
(.require
[library
[lux (.except)
- ["_" test (.only Test)]
[abstract
[monad (.only do)]]
[control
@@ -18,7 +17,9 @@
[collection
["[0]" list]]]
[math
- ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]]]
+ ["[0]" random (.only Random) (.use "[1]#[0]" monad)]]
+ ["_" test (.only Test)
+ ["[0]" unit]]]]
[\\library
["[0]" / (.only)
["/[1]" //]]]
@@ -74,7 +75,7 @@
(in (do async.monad
[?concern (at watcher concern directory)
?stop (at watcher stop directory)]
- (_.coverage' [/.not_being_watched]
+ (unit.coverage [/.not_being_watched]
(and (case ?concern
{try.#Failure error}
(exception.match? /.not_being_watched error)
@@ -182,7 +183,7 @@
after_creation!
after_modification!
after_deletion!)))]
- (_.coverage' [/.mock /.polling]
+ (unit.coverage [/.mock /.polling]
(try.else false verdict)))))
(do random.monad
[directory (random.alphabetic 5)
@@ -190,7 +191,7 @@
[fs watcher] (/.mock /)]]
(in (do async.monad
[started? (at watcher start /.all directory)]
- (_.coverage' [/.cannot_poll_a_non_existent_directory]
+ (unit.coverage [/.cannot_poll_a_non_existent_directory]
(case started?
{try.#Success _}
false