diff options
| author | Glenn Morris | 2013-06-26 19:00:54 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-06-26 19:00:54 -0700 |
| commit | fc3ec98234a3661a1393a6ab2f956142633164d2 (patch) | |
| tree | 78258a6c544898bbcd802c49bb225aad3be1d0cc | |
| parent | ae7bfbf5a46b6ab1b1bc4271e7941b6eb060641d (diff) | |
| download | emacs-fc3ec98234a3661a1393a6ab2f956142633164d2.tar.gz emacs-fc3ec98234a3661a1393a6ab2f956142633164d2.zip | |
* automated/undo-tests.el (undo-test3): Remove test that seems to
nothing that the previous one doesn't, except leave a tempfile.
Fix copyright header.
| -rw-r--r-- | test/ChangeLog | 5 | ||||
| -rw-r--r-- | test/automated/undo-tests.el | 22 |
2 files changed, 6 insertions, 21 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 4aaa5f12bb7..1b2b8851704 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-06-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * automated/undo-tests.el (undo-test3): Remove test that seems to | ||
| 4 | nothing that the previous one doesn't, except leave a tempfile. | ||
| 5 | |||
| 1 | 2013-06-26 Glenn Morris <rgm@gnu.org> | 6 | 2013-06-26 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * automated/info-xref.el: New file. | 8 | * automated/info-xref.el: New file. |
diff --git a/test/automated/undo-tests.el b/test/automated/undo-tests.el index 3037db03602..98b0c52728b 100644 --- a/test/automated/undo-tests.el +++ b/test/automated/undo-tests.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; undo-tests.el --- Tests of primitive-undo | 1 | ;;; undo-tests.el --- Tests of primitive-undo |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2012 Aaron S. Hawley | 3 | ;; Copyright (C) 2012-2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Aaron S. Hawley <aaron.s.hawley@gmail.com> | 5 | ;; Author: Aaron S. Hawley <aaron.s.hawley@gmail.com> |
| 6 | 6 | ||
| @@ -140,26 +140,6 @@ | |||
| 140 | (undo) | 140 | (undo) |
| 141 | (buffer-string)))))) | 141 | (buffer-string)))))) |
| 142 | 142 | ||
| 143 | (ert-deftest undo-test3 () | ||
| 144 | "Test modtime with \\[undo] command." | ||
| 145 | (let ((tmpfile (make-temp-file "undo-test3"))) | ||
| 146 | (with-temp-file tmpfile | ||
| 147 | (let ((buffer-file-name tmpfile)) | ||
| 148 | (buffer-enable-undo) | ||
| 149 | (set (make-local-variable 'make-backup-files) nil) | ||
| 150 | (undo-boundary) | ||
| 151 | (insert ?\s) | ||
| 152 | (undo-boundary) | ||
| 153 | (basic-save-buffer) | ||
| 154 | (insert ?\t) | ||
| 155 | (undo) | ||
| 156 | (should | ||
| 157 | (string-equal (buffer-string) | ||
| 158 | (progn | ||
| 159 | (undo) | ||
| 160 | (buffer-string))))) | ||
| 161 | (delete-file tmpfile)))) | ||
| 162 | |||
| 163 | (ert-deftest undo-test4 () | 143 | (ert-deftest undo-test4 () |
| 164 | "Test \\[undo] of \\[flush-lines]." | 144 | "Test \\[undo] of \\[flush-lines]." |
| 165 | (with-temp-buffer | 145 | (with-temp-buffer |