diff options
author | Eduardo Julian | 2020-12-10 07:28:48 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-12-10 07:28:48 -0400 |
commit | d747aada2d6df6538d0a88d70169f3757aef50af (patch) | |
tree | c26b4350cfa8a256814bb9805525325842bd5ab3 /stdlib/source/test/aedifex/command/test.lux | |
parent | 14287585025b2d8fff1991691def9e643b039ac8 (diff) |
Updated Lux license to v0.1.1.
Diffstat (limited to 'stdlib/source/test/aedifex/command/test.lux')
-rw-r--r-- | stdlib/source/test/aedifex/command/test.lux | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/stdlib/source/test/aedifex/command/test.lux b/stdlib/source/test/aedifex/command/test.lux index 43c70d8ba..f87e70e85 100644 --- a/stdlib/source/test/aedifex/command/test.lux +++ b/stdlib/source/test/aedifex/command/test.lux @@ -19,7 +19,8 @@ ["." random]] [world ["." file] - ["." shell]]] + ["." shell] + ["." program]]] ["." // #_ ["@." version] ["@." build] @@ -53,18 +54,14 @@ profile (|> empty-profile with-program - with-target) - - no-working-directory environment.empty - - environment (dictionary.put "user.dir" working-directory environment.empty)] + with-target)] resolution @build.resolution] ($_ _.and (let [fs (file.mock (\ file.default separator)) console (@version.echo "")] (wrap (do promise.monad [verdict (do ///action.monad - [_ (/.do! console environment fs (@build.good-shell []) resolution profile) + [_ (/.do! console (program.async (program.mock environment.empty working-directory)) fs (@build.good-shell []) resolution profile) build-start (!.use (\ console read-line) []) build-end (!.use (\ console read-line) []) test-start (!.use (\ console read-line) []) @@ -98,7 +95,7 @@ shell.normal shell.error)])))))) [])] - _ (/.do! console environment fs bad-shell resolution profile) + _ (/.do! console (program.async (program.mock environment.empty working-directory)) fs bad-shell resolution profile) build-start (!.use (\ console read-line) []) build-end (!.use (\ console read-line) []) test-start (!.use (\ console read-line) []) |