aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/artifact
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/aedifex/artifact')
-rw-r--r--stdlib/source/test/aedifex/artifact/snapshot/version/value.lux12
-rw-r--r--stdlib/source/test/aedifex/artifact/time/date.lux4
-rw-r--r--stdlib/source/test/aedifex/artifact/time/time.lux4
3 files changed, 11 insertions, 9 deletions
diff --git a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux
index 8daf8635c..a6532c250 100644
--- a/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux
+++ b/stdlib/source/test/aedifex/artifact/snapshot/version/value.lux
@@ -47,18 +47,18 @@
(do random.monad
[sample random
stamp $///stamp.random]
- (let [version (value@ #/.version sample)
+ (let [version (value@ /.#version sample)
local!
(text\= version
- (/.format (with@ #/.snapshot #///.Local sample)))
+ (/.format (with@ /.#snapshot {///.#Local} sample)))
- remote_format (/.format [#/.version (format version /.snapshot)
- #/.snapshot {#///.Remote stamp}])
+ remote_format (/.format [/.#version (format version /.snapshot)
+ /.#snapshot {///.#Remote stamp}])
remote!
- (and (text.starts_with? (format version (///time.format (value@ #///stamp.time stamp)))
+ (and (text.starts_with? (format version (///time.format (value@ ///stamp.#time stamp)))
remote_format)
- (text.ends_with? (%.nat (value@ #///stamp.build stamp))
+ (text.ends_with? (%.nat (value@ ///stamp.#build stamp))
remote_format))]
(_.cover [/.snapshot /.format]
(and local!
diff --git a/stdlib/source/test/aedifex/artifact/time/date.lux b/stdlib/source/test/aedifex/artifact/time/date.lux
index 77c312380..b32787d49 100644
--- a/stdlib/source/test/aedifex/artifact/time/date.lux
+++ b/stdlib/source/test/aedifex/artifact/time/date.lux
@@ -59,10 +59,10 @@
(try.else false)))
(_.cover [/.year_is_out_of_range]
(case (/.date candidate)
- {#try.Success date}
+ {try.#Success date}
(same? candidate (/.value date))
- {#try.Failure error}
+ {try.#Failure error}
(exception.match? /.year_is_out_of_range error)))
(_.cover [/.epoch]
(date\= date.epoch (/.value /.epoch)))
diff --git a/stdlib/source/test/aedifex/artifact/time/time.lux b/stdlib/source/test/aedifex/artifact/time/time.lux
index 6351eca60..c908eb69b 100644
--- a/stdlib/source/test/aedifex/artifact/time/time.lux
+++ b/stdlib/source/test/aedifex/artifact/time/time.lux
@@ -19,7 +19,9 @@
(def: .public random
(Random /.Time)
- (random.one (|>> time.clock (with@ #time.milli_second 0) time.time)
+ (random.one (|>> time.clock
+ (with@ time.#milli_second 0)
+ time.time)
random.time))
(def: .public test