From c46d3b74baf50b23a69683c996d810e1d7639eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 30 Jul 2020 20:32:41 +0200 Subject: Resolve TODO's in test dir. --- tests/rrule-parse.scm | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'tests/rrule-parse.scm') diff --git a/tests/rrule-parse.scm b/tests/rrule-parse.scm index c10266aa..f1d02d27 100644 --- a/tests/rrule-parse.scm +++ b/tests/rrule-parse.scm @@ -11,8 +11,6 @@ (test-equal (make-recur-rule freq: 'HOURLY count: 3 interval: 1 wkst: mon) (parse-recurrence-rule "FREQ=HOURLY;COUNT=3")) -;;; TODO write tests for these cases - (parameterize ((warnings-are-errors #t) (warning-handler identity)) ; silence warnings (test-error "Invalid FREQ" 'warning @@ -24,14 +22,3 @@ (test-error "Invalid COUNT" 'wrong-type-argument (parse-recurrence-rule "FREQ=HOURLY;COUNT=err")) ) - ; TODO this error seems to have an error -;; => #< freq: #< freq: #f until: #f count: #f interval: 1 bysecond: #f byminute: #f byhour: #f byday: #f bymonthday: #f byyearday: #f byweekno: #f bymonth: #f bysetpos: #f wkst: MO> until: #f count: 3 interval: 1 bysecond: #f byminute: #f byhour: #f byday: #f bymonthday: #f byyearday: #f byweekno: #f bymonth: #f bysetpos: #f wkst: MO> -;; ERR unfulfilled-constraint [ERR] doesn't fulfill constraint of type [FREQ], ignoring - -;; => #< freq: HOURLY until: #f count: #f interval: 1 -;; bysecond: #f byminute: #f byhour: #f byday: #f bymonthday: #f -;; byyearday: #f byweekno: #f bymonth: #f bysetpos: #f wkst: MO> -;; ERR invalid-value [#f] for key [COUNT], ignoring. - -;; => #< freq: HOURLY until: #f count: #< freq: HOURLY until: #f count: #f interval: 1 bysecond: #f byminute: #f byhour: #f byday: #f bymonthday: #f byyearday: #f byweekno: #f bymonth: #f bysetpos: #f wkst: MO> interval: 1 bysecond: #f byminute: #f byhour: #f byday: #f bymonthday: #f byyearday: #f byweekno: #f bymonth: #f bysetpos: #f wkst: MO> -;; ERR unfulfilled-constraint [-1] doesn't fulfill constraint of type [COUNT], ignoring -- cgit v1.2.3