aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/ical/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/ical/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 'module/vcomponent/formats/ical/output.scm')
-rw-r--r--module/vcomponent/formats/ical/output.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/vcomponent/formats/ical/output.scm b/module/vcomponent/formats/ical/output.scm
index 5fa004bb..9e227b56 100644
--- a/module/vcomponent/formats/ical/output.scm
+++ b/module/vcomponent/formats/ical/output.scm
@@ -148,16 +148,17 @@
(for-each
;; Special cases depending on key.
;; Value formatting is handled in @code{value-format}.
+
(match-lambda
[(? (compose internal-field? car)) 'noop]
- [(key vlines ...)
+ [(key (vlines ...))
(for vline in vlines
(display (vline->string vline))
(display "\r\n"))]
- [(key . vline)
+ [(key vline)
(display (vline->string vline))
(display "\r\n")])
(properties component))