diff options
author | Eduardo Julian | 2020-12-10 00:15:15 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-12-10 00:15:15 -0400 |
commit | 14287585025b2d8fff1991691def9e643b039ac8 (patch) | |
tree | 4fdbe2aafa907d1dd0f47150c545adf3eabeb124 /stdlib/source/test/lux/world | |
parent | 893c76ad530ca0e81cd84602543c3114407f4592 (diff) |
Re-named "with-cover" to "for".
Diffstat (limited to 'stdlib/source/test/lux/world')
-rw-r--r-- | stdlib/source/test/lux/world/console.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/world/file/watch.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/world/program.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/lux/world/shell.lux | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/world/console.lux b/stdlib/source/test/lux/world/console.lux index 6e1ce67b3..56291563d 100644 --- a/stdlib/source/test/lux/world/console.lux +++ b/stdlib/source/test/lux/world/console.lux @@ -40,5 +40,5 @@ (def: #export test Test (<| (_.covering /._) - (_.with-cover [/.mock /.Simulation] - ($/.spec (io.io (/.mock ..simulation false)))))) + (_.for [/.mock /.Simulation] + ($/.spec (io.io (/.mock ..simulation false)))))) diff --git a/stdlib/source/test/lux/world/file/watch.lux b/stdlib/source/test/lux/world/file/watch.lux index 8b1c22697..aa3a51e59 100644 --- a/stdlib/source/test/lux/world/file/watch.lux +++ b/stdlib/source/test/lux/world/file/watch.lux @@ -35,7 +35,7 @@ (def: concern\\test Test - (<| (_.with-cover [/.Concern]) + (<| (_.for [/.Concern]) ($_ _.and (_.cover [/.creation /.creation?] (and (/.creation? /.creation) @@ -92,7 +92,7 @@ (def: #export test Test (<| (_.covering /._) - (_.with-cover [/.Watcher]) + (_.for [/.Watcher]) ($_ _.and ..concern\\test ..exception diff --git a/stdlib/source/test/lux/world/program.lux b/stdlib/source/test/lux/world/program.lux index 5dcf6270a..531ba0095 100644 --- a/stdlib/source/test/lux/world/program.lux +++ b/stdlib/source/test/lux/world/program.lux @@ -34,6 +34,6 @@ [environment ..environment directory ..directory] ($_ _.and - (_.with-cover [/.mock /.async] - ($/.spec (/.async (/.mock environment directory)))) + (_.for [/.mock /.async] + ($/.spec (/.async (/.mock environment directory)))) )))) diff --git a/stdlib/source/test/lux/world/shell.lux b/stdlib/source/test/lux/world/shell.lux index cf349e225..d3c7e24f8 100644 --- a/stdlib/source/test/lux/world/shell.lux +++ b/stdlib/source/test/lux/world/shell.lux @@ -98,9 +98,9 @@ Test (<| (_.covering /._) ($_ _.and - (_.with-cover [/.mock /.Simulation] - ($/.spec (/.mock (|>> ..simulation #try.Success) - false))) + (_.for [/.mock /.Simulation] + ($/.spec (/.mock (|>> ..simulation #try.Success) + false))) (_.cover [/.error] (not (i.= /.normal /.error))) (do random.monad |