aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJuanma Barranquero2011-11-16 18:47:25 +0100
committerJuanma Barranquero2011-11-16 18:47:25 +0100
commit7877f37394a0bea045c8d0faf7db7a7e1b4ccdc1 (patch)
tree334fa246f6537c6fbdb73be78c873416b2b9bf44 /test
parent10649b828d6b2c7bfc41dde3386c980bcd48c0b3 (diff)
downloademacs-7877f37394a0bea045c8d0faf7db7a7e1b4ccdc1.tar.gz
emacs-7877f37394a0bea045c8d0faf7db7a7e1b4ccdc1.zip
Fix typos.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog2
-rw-r--r--test/automated/icalendar-tests.el16
2 files changed, 10 insertions, 8 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 5265f4175a7..9afed6f5f90 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,7 @@
12011-11-16 Juanma Barranquero <lekktu@gmail.com> 12011-11-16 Juanma Barranquero <lekktu@gmail.com>
2 2
3 * automated/icalendar-tests.el (icalendar-tests--get-ical-event)
4 (icalendar-tests--test-export, icalendar-tests--do-test-export):
3 * cedet/srecode-tests.el (srecode-field-utest-impl): Fix typo. 5 * cedet/srecode-tests.el (srecode-field-utest-impl): Fix typo.
4 6
52011-10-30 Ulf Jasper <ulf.jasper@web.de> 72011-10-30 Ulf Jasper <ulf.jasper@web.de>
diff --git a/test/automated/icalendar-tests.el b/test/automated/icalendar-tests.el
index 04fce7383fd..6ed1d73767a 100644
--- a/test/automated/icalendar-tests.el
+++ b/test/automated/icalendar-tests.el
@@ -39,7 +39,7 @@
39;; ====================================================================== 39;; ======================================================================
40 40
41(defun icalendar-tests--get-ical-event (ical-string) 41(defun icalendar-tests--get-ical-event (ical-string)
42 "Return icalendar event for ICAL-STRING." 42 "Return iCalendar event for ICAL-STRING."
43 (save-excursion 43 (save-excursion
44 (with-temp-buffer 44 (with-temp-buffer
45 (insert ical-string) 45 (insert ical-string)
@@ -219,7 +219,7 @@ END:VTIMEZONE
219 (should (string= "\nDTSTART;VALUE=DATE:20100215\nDTEND;VALUE=DATE:20100216" 219 (should (string= "\nDTSTART;VALUE=DATE:20100215\nDTEND;VALUE=DATE:20100216"
220 (car result))) 220 (car result)))
221 (should (string= "subject" (cadr result))) 221 (should (string= "subject" (cadr result)))
222 222
223 ;; with time 223 ;; with time
224 (setq result (icalendar--convert-ordinary-to-ical 224 (setq result (icalendar--convert-ordinary-to-ical
225 "&?" "&2010 2 15 12:34-23:45 s")) 225 "&?" "&2010 2 15 12:34-23:45 s"))
@@ -424,7 +424,7 @@ END:VEVENT
424Argument INPUT-ISO iso style diary string. 424Argument INPUT-ISO iso style diary string.
425Argument INPUT-EUROPEAN european style diary string. 425Argument INPUT-EUROPEAN european style diary string.
426Argument INPUT-AMERICAN american style diary string. 426Argument INPUT-AMERICAN american style diary string.
427Argument EXPECTED-OUTPUT expected icalendar result string. 427Argument EXPECTED-OUTPUT expected iCalendar result string.
428 428
429European style input data must use german month names. American 429European style input data must use german month names. American
430and ISO style input data must use english month names." 430and ISO style input data must use english month names."
@@ -467,7 +467,7 @@ and ISO style input data must use english month names."
467(defun icalendar-tests--do-test-export (input expected-output) 467(defun icalendar-tests--do-test-export (input expected-output)
468 "Actually perform export test. 468 "Actually perform export test.
469Argument INPUT input diary string. 469Argument INPUT input diary string.
470Argument EXPECTED-OUTPUT expected icalendar result string." 470Argument EXPECTED-OUTPUT expected iCalendar result string."
471 (let ((temp-file (make-temp-file "icalendar-tests-ics"))) 471 (let ((temp-file (make-temp-file "icalendar-tests-ics")))
472 (unwind-protect 472 (unwind-protect
473 (progn 473 (progn
@@ -732,7 +732,7 @@ DTSTART;VALUE=DATE-TIME:20030919"
732 "&9/19/2003 non-recurring allday\n") 732 "&9/19/2003 non-recurring allday\n")
733 (icalendar-tests--test-import 733 (icalendar-tests--test-import
734 ;; do not remove the trailing blank after "long"! 734 ;; do not remove the trailing blank after "long"!
735 "SUMMARY:long 735 "SUMMARY:long
736 summary 736 summary
737DTSTART;VALUE=DATE:20030919" 737DTSTART;VALUE=DATE:20030919"
738 "&2003/9/19 long summary\n" 738 "&2003/9/19 long summary\n"
@@ -1041,7 +1041,7 @@ SUMMARY:event-1
1041 "&2011/7/23 event-1\n" 1041 "&2011/7/23 event-1\n"
1042 "&23/7/2011 event-1\n" 1042 "&23/7/2011 event-1\n"
1043 "&7/23/2011 event-1\n") 1043 "&7/23/2011 event-1\n")
1044 1044
1045 (icalendar-tests--test-import 1045 (icalendar-tests--test-import
1046 "BEGIN:VCALENDAR 1046 "BEGIN:VCALENDAR
1047PRODID:-//Emacs//NONSGML icalendar.el//EN 1047PRODID:-//Emacs//NONSGML icalendar.el//EN
@@ -1111,7 +1111,7 @@ Argument INPUT icalendar event string."
1111 (progn 1111 (progn
1112 ;; step 1: import 1112 ;; step 1: import
1113 (icalendar-import-buffer temp-diary t t) 1113 (icalendar-import-buffer temp-diary t t)
1114 1114
1115 ;; step 2: export what was just imported 1115 ;; step 2: export what was just imported
1116 (save-excursion 1116 (save-excursion
1117 (find-file temp-diary) 1117 (find-file temp-diary)
@@ -1399,7 +1399,7 @@ SUMMARY:may 30 - June 1: ee")
1399 "DTSTART;VALUE=DATE:20050606 1399 "DTSTART;VALUE=DATE:20050606
1400DTEND;VALUE=DATE:20050609 1400DTEND;VALUE=DATE:20050609
1401SUMMARY:ff") 1401SUMMARY:ff")
1402 1402
1403 ;; export 2004-10-28 anniversary entries 1403 ;; export 2004-10-28 anniversary entries
1404 (icalendar-tests--test-export 1404 (icalendar-tests--test-export
1405 nil 1405 nil