From bdbc1c4e3ea66b6bb27e393e253da822a7fff841 Mon Sep 17 00:00:00 2001 From: Ulf Jasper Date: Sun, 29 Jan 2012 13:28:20 +0100 Subject: [PATCH] test/automated/icalendar-tests: Fix broken test 2012-01-29 Ulf Jasper * automated/icalendar-tests.el (icalendar-import-non-recurring): Fix broken test, caused by missing trailing blank. --- test/ChangeLog | 5 +++++ test/automated/icalendar-tests.el | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index ffe51fa20a2..12c9acd9219 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2012-01-29 Ulf Jasper + + * automated/icalendar-tests.el (icalendar-import-non-recurring): + Fix broken test, caused by missing trailing blank. + 2011-12-03 Chong Yidong * automated/compile-tests.el (compile-tests--test-regexps-data): diff --git a/test/automated/icalendar-tests.el b/test/automated/icalendar-tests.el index b48ca94f072..503ea22d2b8 100644 --- a/test/automated/icalendar-tests.el +++ b/test/automated/icalendar-tests.el @@ -731,10 +731,9 @@ DTSTART;VALUE=DATE-TIME:20030919" "&19/9/2003 non-recurring allday\n" "&9/19/2003 non-recurring allday\n") (icalendar-tests--test-import - ;; do not remove the trailing blank after "long"! - "SUMMARY:long - summary -DTSTART;VALUE=DATE:20030919" + ;; Checkdoc removes trailing blanks. Therefore: format! + (format "%s\n%s\n%s" "SUMMARY:long " " summary" + "DTSTART;VALUE=DATE:20030919") "&2003/9/19 long summary\n" "&19/9/2003 long summary\n" "&9/19/2003 long summary\n") -- 2.39.2