aboutsummaryrefslogtreecommitdiff
path: root/tests/vcomponent.scm
blob: 0d81ab0e4957e20225d1017ff8aa6abda647ad43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(((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))