summaryrefslogtreecommitdiff
path: root/tests/utils.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/utils.scm')
-rw-r--r--tests/utils.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.scm b/tests/utils.scm
index 9816769..c7df3f4 100644
--- a/tests/utils.scm
+++ b/tests/utils.scm
@@ -76,7 +76,8 @@
(take-up-to 2 '(1 2 3)))
(test-equal "string->date*"
- (make-date 0 0 15 06 05 09 2015 (date-zone-offset (current-date)))
+ (make-date 0 0 15 06 05 09 2015
+ (date-zone-offset (string->date "2015-09-05" "~Y~m~d")))
(string->date* "2015-09-05 06:15"))
(test-end)