aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/hash.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/hash.lux
parentd29e091e98dabb8dfcf816899ada480ecbf7e357 (diff)
Replaced kebab-case with snake_case for naming convention.
Diffstat (limited to 'stdlib/source/test/aedifex/hash.lux')
-rw-r--r--stdlib/source/test/aedifex/hash.lux16
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/test/aedifex/hash.lux b/stdlib/source/test/aedifex/hash.lux
index 455835b84..502130970 100644
--- a/stdlib/source/test/aedifex/hash.lux
+++ b/stdlib/source/test/aedifex/hash.lux
@@ -64,17 +64,17 @@
(#try.Failure error)
(exception.match? <exception> error)))))]
- [/.sha-1 /.as-sha-1 /.not-a-sha-1]
- [/.md5 /.as-md5 /.not-a-md5]
+ [/.sha-1 /.as_sha-1 /.not_a_sha-1]
+ [/.md5 /.as_md5 /.not_a_md5]
))))
(~~ (template [<codec> <hash>]
[(_.for [<codec>]
($codec.spec /.equivalence <codec> (..random <hash>)))]
- [/.sha-1-codec /.sha-1]
- [/.md5-codec /.md5]
+ [/.sha-1_codec /.sha-1]
+ [/.md5_codec /.md5]
))
- (_.for [/.not-a-hash]
+ (_.for [/.not_a_hash]
($_ _.and
(~~ (template [<codec> <hash>]
[(do random.monad
@@ -87,9 +87,9 @@
false
(#try.Failure error)
- (exception.match? /.not-a-hash error))))]
+ (exception.match? /.not_a_hash error))))]
- [/.sha-1-codec /.sha-1]
- [/.md5-codec /.md5]
+ [/.sha-1_codec /.sha-1]
+ [/.md5_codec /.md5]
))))
))))