diff options
| author | 2023-07-26 13:09:24 +0200 | |
|---|---|---|
| committer | 2023-07-26 13:09:24 +0200 | |
| commit | 4944ad6df9eeb44a34a93c656f69a85ee3c33f89 (patch) | |
| tree | a0f859f9dfc1ea8a25ba32e572b4ddd5b0c6fd51 | |
| parent | fix #2 (diff) | |
test: test both update-time and its * variant
variation of #2 that still tests the * variant
| -rw-r--r-- | test/02-api.janet | 2 |
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 |
