aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/xcal/output.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-12-01 23:13:32 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-12-01 23:15:01 +0100
commit1a18c30f06b97392414a8a69f04b52918bdfe554 (patch)
tree421fdb303abf4adb3476debaa7287484076a4a84 /module/vcomponent/formats/xcal/output.scm
parentProperly specify as-list and with-parameters interaction. (diff)
downloadcalp-1a18c30f06b97392414a8a69f04b52918bdfe554.tar.gz
calp-1a18c30f06b97392414a8a69f04b52918bdfe554.tar.xz
Repair format tests.
The test have been really broken for a while, since the return type of `parameters` changed somewhere along the line. The serializers are now updated to the new API, and the tests updated to compare components correctly!
Diffstat (limited to '')
-rw-r--r--module/vcomponent/formats/xcal/output.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/vcomponent/formats/xcal/output.scm b/module/vcomponent/formats/xcal/output.scm
index 6d5e0656..a5f8a934 100644
--- a/module/vcomponent/formats/xcal/output.scm
+++ b/module/vcomponent/formats/xcal/output.scm
@@ -111,7 +111,7 @@
(match-lambda
[(? (compose internal-field? car)) #f]
- [(key vlines ...)
+ [(key (vlines ...))
(remove null?
`(,(xml xcal (downcase-symbol key))
,(parameters-tag (reduce assq-merge
@@ -120,7 +120,7 @@
,@(for vline in vlines
(vline->value-tag vline))))]
- [(key . vline)
+ [(key vline)
(remove null?
`(,(xml xcal (downcase-symbol key))
,(parameters-tag (parameters vline))