From 4264d321a574a5d71b915423560018bf3d51aca4 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Tue, 30 Aug 2022 21:05:01 +0200 Subject: [PATCH] caldav: fix match test example from RFC See https://www.rfc-editor.org/errata/eid4164 The original RFC's appendix was missing a part of the calendar data used in the examples. This will become relevant when adding tests for retrieving recurring events. --- caldav/match_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/caldav/match_test.go b/caldav/match_test.go index c06743b..e911846 100644 --- a/caldav/match_test.go +++ b/caldav/match_test.go @@ -100,6 +100,14 @@ RECURRENCE-ID;TZID=US/Eastern:20060104T120000 SUMMARY:Event #2 bis UID:00959BC664CA650E933C892C@example.com END:VEVENT +BEGIN:VEVENT +DTSTAMP:20060206T001121Z +DTSTART;TZID=US/Eastern:20060106T140000 +DURATION:PT1H +RECURRENCE-ID;TZID=US/Eastern:20060106T120000 +SUMMARY:Event #2 bis bis +UID:00959BC664CA650E933C892C@example.com +END:VEVENT END:VCALENDAR`) event3 := newCO(`BEGIN:VCALENDAR