aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/repository.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-12-25 09:22:38 -0400
committerEduardo Julian2020-12-25 09:22:38 -0400
commit4ca397765805eda5ddee393901ed3a02001a960a (patch)
tree2ab184a1a4e244f3a69e86c8a7bb3ad49c22b4a3 /stdlib/source/test/aedifex/repository.lux
parentd29e091e98dabb8dfcf816899ada480ecbf7e357 (diff)
Replaced kebab-case with snake_case for naming convention.
Diffstat (limited to 'stdlib/source/test/aedifex/repository.lux')
-rw-r--r--stdlib/source/test/aedifex/repository.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/test/aedifex/repository.lux b/stdlib/source/test/aedifex/repository.lux
index af96bc572..7b99d080f 100644
--- a/stdlib/source/test/aedifex/repository.lux
+++ b/stdlib/source/test/aedifex/repository.lux
@@ -37,7 +37,7 @@
(-> Version Artifact)
(|>> ["com.github.luxlang" "test-artifact"]))
-(exception: (not-found {uri URI})
+(exception: (not_found {uri URI})
(exception.report
["URI" (%.text uri)]))
@@ -51,14 +51,14 @@
(structure: #export simulation
(/.Simulation Store)
- (def: (on-download uri state)
+ (def: (on_download uri state)
(case (dictionary.get uri state)
(#.Some content)
(exception.return [state content])
#.None
- (exception.throw ..not-found [uri])))
- (def: (on-upload uri content state)
+ (exception.throw ..not_found [uri])))
+ (def: (on_upload uri content state)
(exception.return (dictionary.put uri content state))))
(def: #export test