diff options
author | Ulf Jasper <ulf.jasper@web.de> | 2012-01-29 13:28:20 +0100 |
---|---|---|
committer | Ulf Jasper <ulf.jasper@web.de> | 2012-01-29 13:28:20 +0100 |
commit | bdbc1c4e3ea66b6bb27e393e253da822a7fff841 (patch) | |
tree | 1f259bdfba13198abecd6ee4fe18af9ef6c5a72b | |
parent | d6e6f4b1e956714cde3b5d527a55e788f9f9a498 (diff) | |
download | emacs-bdbc1c4e3ea66b6bb27e393e253da822a7fff841.tar.gz |
test/automated/icalendar-tests: Fix broken test
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.
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <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") |