summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ChangeLog5
-rw-r--r--test/automated/icalendar-tests.el7
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 <ulf.jasper@web.de>
+
+ * automated/icalendar-tests.el (icalendar-import-non-recurring):
+ Fix broken test, caused by missing trailing blank.
+
2011-12-03 Chong Yidong <cyd@gnu.org>
* 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")