]> gitweb.factorcode.org Git - factor.git/commitdiff
calendar: fix tests for nth-day-of-month.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Dec 2020 05:27:31 +0000 (21:27 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 11 Dec 2020 05:27:31 +0000 (21:27 -0800)
basis/calendar/calendar-tests.factor

index e2616ad4506f4db482af4ed19e3a5b37bce8d26f..6c67378ad0cc9d6edcb0774480de478aeb546678 100644 (file)
@@ -312,7 +312,7 @@ IN: calendar
         T{ timestamp { year 2020 } { month 3 } { day 29 } }
     }
 } [
-    2020 march gmt 5 <iota> [ sunday-of-month ] with map
+    2020 march gmt 5 <iota> [ [ clone ] dip sunday-of-month ] with map
 ] unit-test
 
 
@@ -325,7 +325,7 @@ IN: calendar
         T{ timestamp { year 2020 } { month 2 } { day 29 } }
     }
 } [
-    2020 february gmt 5 <iota> [ saturday-of-month ] with map
+    2020 february gmt 5 <iota> [ [ clone ] dip saturday-of-month ] with map
 ] unit-test
 
 
@@ -339,5 +339,5 @@ IN: calendar
         T{ timestamp { year 2021 } { month 1 } { day 4 } }
     }
 } [
-    2020 december gmt 5 <iota> [ monday-of-month ] with map
+    2020 december gmt 5 <iota> [ [ clone ] dip monday-of-month ] with map
 ] unit-test