diff options
Diffstat (limited to 'stdlib/source/test/aedifex')
-rw-r--r-- | stdlib/source/test/aedifex/command/version.lux | 4 | ||||
-rw-r--r-- | stdlib/source/test/aedifex/repository.lux | 14 |
2 files changed, 10 insertions, 8 deletions
diff --git a/stdlib/source/test/aedifex/command/version.lux b/stdlib/source/test/aedifex/command/version.lux index 7d2877738..169b20ef6 100644 --- a/stdlib/source/test/aedifex/command/version.lux +++ b/stdlib/source/test/aedifex/command/version.lux @@ -6,7 +6,7 @@ [control ["[0]" maybe] ["[0]" try] - ["[0]" exception (.only exception)] + ["[0]" exception] [concurrency ["[0]" async (.only Async)]]] [data @@ -28,7 +28,7 @@ [\\program ["[0]" /]]) -(exception .public console_is_closed!) +(exception.def .public console_is_closed!) (def mock (Mock [Bit Text]) diff --git a/stdlib/source/test/aedifex/repository.lux b/stdlib/source/test/aedifex/repository.lux index fbb3ef01b..fd26f3898 100644 --- a/stdlib/source/test/aedifex/repository.lux +++ b/stdlib/source/test/aedifex/repository.lux @@ -43,13 +43,15 @@ (-> Version Artifact) (|>> ["com.github.luxlang" "test-artifact"])) -(exception (not_found [uri URI]) - (exception.report - (list ["URI" (%.text uri)]))) +(with_template [<name>] + [(exception.def (<name> uri) + (Exception URI) + (exception.report + (list ["URI" (%.text uri)])))] -(exception (cannot_upload [uri URI]) - (exception.report - (list ["URI" (%.text uri)]))) + [not_found] + [cannot_upload] + ) (type Store (Dictionary URI Binary)) |