diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/icalendar-tests.el | 12 |
2 files changed, 5 insertions, 12 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 57615c486fc..3d930be56c1 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-10-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/icalendar-tests.el (icalendar--calendar-style): | ||
| 4 | Remove test, no longer relevant. | ||
| 5 | |||
| 1 | 2014-10-04 Glenn Morris <rgm@gnu.org> | 6 | 2014-10-04 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * automated/package-x-test.el: Remove file... | 8 | * automated/package-x-test.el: Remove file... |
diff --git a/test/automated/icalendar-tests.el b/test/automated/icalendar-tests.el index 9598e89ca22..a6a5da2ff57 100644 --- a/test/automated/icalendar-tests.el +++ b/test/automated/icalendar-tests.el | |||
| @@ -80,18 +80,6 @@ | |||
| 80 | (should (string= (concat "yyyDTSTARTyyy") | 80 | (should (string= (concat "yyyDTSTARTyyy") |
| 81 | (icalendar--create-uid entry-full contents))))) | 81 | (icalendar--create-uid entry-full contents))))) |
| 82 | 82 | ||
| 83 | (ert-deftest icalendar--calendar-style () | ||
| 84 | "Test for `icalendar--date-style'." | ||
| 85 | (dolist (calendar-date-style '(iso american european)) | ||
| 86 | (should (eq (icalendar--date-style) calendar-date-style))) | ||
| 87 | (let ((cds calendar-date-style) | ||
| 88 | (european-calendar-style t)) | ||
| 89 | (makunbound 'calendar-date-style) | ||
| 90 | (should (eq (icalendar--date-style) 'european)) | ||
| 91 | (with-no-warnings (setq european-calendar-style nil)) ;still get warning!?! FIXME | ||
| 92 | (should (eq (icalendar--date-style) 'american)) | ||
| 93 | (setq calendar-date-style cds))) | ||
| 94 | |||
| 95 | (ert-deftest icalendar-convert-anniversary-to-ical () | 83 | (ert-deftest icalendar-convert-anniversary-to-ical () |
| 96 | "Test method for `icalendar--convert-anniversary-to-ical'." | 84 | "Test method for `icalendar--convert-anniversary-to-ical'." |
| 97 | (let* ((calendar-date-style 'iso) | 85 | (let* ((calendar-date-style 'iso) |