aboutsummaryrefslogtreecommitdiff
path: root/tests/vcomponent.scm
blob: 15c8384592d1658cdd4ceafb5b4f76c8760379d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;;; Commentary:
;; Test that vcomponent parsing works at all.
;;; Code:

(((vcomponent base) prop)
 ((vcomponent) parse-calendar))

(define ev (call-with-input-string
               "BEGIN:DUMMY
KEY:value
END:DUMMY"
             parse-calendar))

(test-assert (eq? #f (prop ev 'MISSING)))
(test-assert (prop ev 'KEY))
(test-equal "value" (prop ev 'KEY))