aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/artifact/time
diff options
context:
space:
mode:
authorEduardo Julian2021-08-24 05:23:45 -0400
committerEduardo Julian2021-08-24 05:23:45 -0400
commit36303d6cb2ce3ab9e36d045b9516c997bd461862 (patch)
treeb9d2f1495143054d61d9af129f36833624db9dac /stdlib/source/test/aedifex/artifact/time
parentec1f31b5a1492d5e0ab260397291d4449483bbd9 (diff)
Outsourced the syntax for labelled type definitions to macros.
Diffstat (limited to 'stdlib/source/test/aedifex/artifact/time')
-rw-r--r--stdlib/source/test/aedifex/artifact/time/date.lux4
-rw-r--r--stdlib/source/test/aedifex/artifact/time/time.lux2
2 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/test/aedifex/artifact/time/date.lux b/stdlib/source/test/aedifex/artifact/time/date.lux
index c67ade3ec..15eb29aba 100644
--- a/stdlib/source/test/aedifex/artifact/time/date.lux
+++ b/stdlib/source/test/aedifex/artifact/time/date.lux
@@ -49,13 +49,13 @@
(|> expected
/.format
(<text>.result /.parser)
- (try\map (\ /.equivalence = expected))
+ (try\each (\ /.equivalence = expected))
(try.else false)))
(_.cover [/.value /.date]
(|> expected
/.value
/.date
- (try\map (\ /.equivalence = expected))
+ (try\each (\ /.equivalence = expected))
(try.else false)))
(_.cover [/.year_is_out_of_range]
(case (/.date candidate)
diff --git a/stdlib/source/test/aedifex/artifact/time/time.lux b/stdlib/source/test/aedifex/artifact/time/time.lux
index 1f5e4c6e7..7e8317b78 100644
--- a/stdlib/source/test/aedifex/artifact/time/time.lux
+++ b/stdlib/source/test/aedifex/artifact/time/time.lux
@@ -33,6 +33,6 @@
(|> expected
/.format
(<text>.result /.parser)
- (try\map (\ time.equivalence = expected))
+ (try\each (\ time.equivalence = expected))
(try.else false))))
)))