diff options
author | Eduardo Julian | 2022-04-08 21:32:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-04-08 21:32:38 -0400 |
commit | 120ebb44dbb1a20fc150e5e58099f90be2e61d49 (patch) | |
tree | 32bcc24d1a48989faf4207bbce423c483b9ce1ba /stdlib/source/test/aedifex/metadata | |
parent | 0d909187d5b9effcd08f533d50af7d29c0d6bfd8 (diff) |
Better names for random text/character generators.
Diffstat (limited to 'stdlib/source/test/aedifex/metadata')
-rw-r--r-- | stdlib/source/test/aedifex/metadata/artifact.lux | 10 | ||||
-rw-r--r-- | stdlib/source/test/aedifex/metadata/snapshot.lux | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/test/aedifex/metadata/artifact.lux b/stdlib/source/test/aedifex/metadata/artifact.lux index 1459a88e5..4a0294d61 100644 --- a/stdlib/source/test/aedifex/metadata/artifact.lux +++ b/stdlib/source/test/aedifex/metadata/artifact.lux @@ -44,9 +44,9 @@ (def: .public random (Random /.Metadata) (all random.and - (random.ascii/alpha 5) - (random.ascii/alpha 5) - (random.list 5 (random.ascii/alpha 5)) + (random.alphabetic 5) + (random.alphabetic 5) + (random.list 5 (random.alphabetic 5)) (do [! random.monad] [year (# ! each (|>> (n.% 9,000) (n.+ 1,000) .int) random.nat) month (# ! each (|>> (n.% 12) (n.+ 1)) random.nat) @@ -95,8 +95,8 @@ (text#= (//.remote_project_uri artifact) (/.uri artifact))) (do random.monad - [home (random.ascii/lower 5) - working_directory (random.ascii/lower 5) + [home (random.lower_case 5) + working_directory (random.lower_case 5) .let [program (program.async (program.mock environment.empty home working_directory)) fs (file.mock (# file.default separator)) repository (///repository/local.repository program fs)]] diff --git a/stdlib/source/test/aedifex/metadata/snapshot.lux b/stdlib/source/test/aedifex/metadata/snapshot.lux index bb862dca2..00cdb05b6 100644 --- a/stdlib/source/test/aedifex/metadata/snapshot.lux +++ b/stdlib/source/test/aedifex/metadata/snapshot.lux @@ -107,8 +107,8 @@ (text#= (//.remote_artifact_uri artifact) (/.uri artifact))) (do random.monad - [home (random.ascii/lower 5) - working_directory (random.ascii/lower 5) + [home (random.lower_case 5) + working_directory (random.lower_case 5) .let [program (program.async (program.mock environment.empty home working_directory)) fs (file.mock (# file.default separator)) repository (///repository/local.repository program fs)]] |