emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106998: test/automated/icalendar-tes


From: Ulf Jasper
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106998: test/automated/icalendar-tests: Fix broken test
Date: Sun, 29 Jan 2012 13:28:20 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106998
committer: Ulf Jasper <address@hidden>
branch nick: trunk
timestamp: Sun 2012-01-29 13:28:20 +0100
message:
  test/automated/icalendar-tests: Fix broken test
  
  2012-01-29  Ulf Jasper  <address@hidden>
  
        * automated/icalendar-tests.el (icalendar-import-non-recurring):
        Fix broken test, caused by missing trailing blank.
modified:
  test/ChangeLog
  test/automated/icalendar-tests.el
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog    2012-01-19 07:21:25 +0000
+++ b/test/ChangeLog    2012-01-29 12:28:20 +0000
@@ -1,3 +1,8 @@
+2012-01-29  Ulf Jasper  <address@hidden>
+
+       * automated/icalendar-tests.el (icalendar-import-non-recurring):
+       Fix broken test, caused by missing trailing blank.
+
 2011-12-03  Chong Yidong  <address@hidden>
 
        * automated/compile-tests.el (compile-tests--test-regexps-data):

=== modified file 'test/automated/icalendar-tests.el'
--- a/test/automated/icalendar-tests.el 2012-01-19 07:21:25 +0000
+++ b/test/automated/icalendar-tests.el 2012-01-29 12:28:20 +0000
@@ -731,10 +731,9 @@
    "&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")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]