aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-07-26 13:09:24 +0200
committerChloe Kudryavtsev <code@toast.bunkerlabs.net>2023-07-26 13:09:24 +0200
commit4944ad6df9eeb44a34a93c656f69a85ee3c33f89 (patch)
treea0f859f9dfc1ea8a25ba32e572b4ddd5b0c6fd51
parentfix #2 (diff)
test: test both update-time and its * variant
variation of #2 that still tests the * variant
-rw-r--r--test/02-api.janet2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/02-api.janet b/test/02-api.janet
index 2a9c0ec..ff367db 100644
--- a/test/02-api.janet
+++ b/test/02-api.janet
@@ -10,7 +10,7 @@
(assert (= (:mktime loc) (:timegm gmt)))
(def before (date/update-time* now {:sec -1 :min dec}))
-(def after (date/update-time* now {:sec 61 :min inc}))
+(def after (date/update-time now :sec 61 :min inc))
(assert (> after now before))
# default format