diff options
Diffstat (limited to 'stdlib/source/specification/aedifex')
-rw-r--r-- | stdlib/source/specification/aedifex/repository.lux | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/stdlib/source/specification/aedifex/repository.lux b/stdlib/source/specification/aedifex/repository.lux index 3c9dd8f2c..9e22c1ac4 100644 --- a/stdlib/source/specification/aedifex/repository.lux +++ b/stdlib/source/specification/aedifex/repository.lux @@ -1,27 +1,27 @@ (.using - [library - [lux "*" - ["_" test {"+" Test}] - [abstract - [monad {"+" do}]] - [control - ["[0]" try {"+" Try}] - [concurrency - ["[0]" async {"+" Async}]]] - [data - ["[0]" binary - ["_[1]" \\test]]] - [math - ["[0]" random]]]] - [\\program - ["[0]" / - ["[1][0]" remote] - ["/[1]" // "_" - ["[1][0]" artifact {"+" Artifact} - ["[1]/[0]" extension]]]]] - [\\test - ["_[0]" // "_" - ["[1][0]" artifact]]]) + [library + [lux "*" + ["_" test {"+" Test}] + [abstract + [monad {"+" do}]] + [control + ["[0]" try {"+" Try}] + [concurrency + ["[0]" async {"+" Async}]]] + [data + ["[0]" binary + ["_[1]" \\test]]] + [math + ["[0]" random]]]] + [\\program + ["[0]" / + ["[1][0]" remote] + ["/[1]" // "_" + ["[1][0]" artifact {"+" Artifact} + ["[1]/[0]" extension]]]]] + [\\test + ["_[0]" // "_" + ["[1][0]" artifact]]]) (def: .public (spec valid_artifact invalid_artifact subject) (-> Artifact Artifact (/.Repository Async) Test) @@ -29,11 +29,11 @@ [expected (_binary.random 100)] (in ($_ _.and' (do async.monad - [.let [good_uri (/remote.uri (value@ //artifact.#version valid_artifact) valid_artifact //artifact/extension.lux_library)] + [.let [good_uri (/remote.uri (the //artifact.#version valid_artifact) valid_artifact //artifact/extension.lux_library)] good_upload! (# subject upload good_uri expected) good_download! (# subject download good_uri) - .let [bad_uri (/remote.uri (value@ //artifact.#version invalid_artifact) invalid_artifact //artifact/extension.lux_library)] + .let [bad_uri (/remote.uri (the //artifact.#version invalid_artifact) invalid_artifact //artifact/extension.lux_library)] bad_upload! (# subject upload bad_uri expected) bad_download! (# subject download bad_uri)] (_.cover' [/.Repository] |