summaryrefslogtreecommitdiff
path: root/test/automated/undo-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-26 19:00:54 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-26 19:00:54 -0700
commitfc3ec98234a3661a1393a6ab2f956142633164d2 (patch)
tree78258a6c544898bbcd802c49bb225aad3be1d0cc /test/automated/undo-tests.el
parentae7bfbf5a46b6ab1b1bc4271e7941b6eb060641d (diff)
* 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.
Diffstat (limited to 'test/automated/undo-tests.el')
-rw-r--r--test/automated/undo-tests.el22
1 files changed, 1 insertions, 21 deletions
diff --git a/test/automated/undo-tests.el b/test/automated/undo-tests.el
index 3037db0360..98b0c52728 100644
--- a/test/automated/undo-tests.el
+++ b/test/automated/undo-tests.el
@@ -1,6 +1,6 @@
;;; undo-tests.el --- Tests of primitive-undo
-;; Copyright (C) 2012 Aaron S. Hawley
+;; Copyright (C) 2012-2013 Free Software Foundation, Inc.
;; Author: Aaron S. Hawley <aaron.s.hawley@gmail.com>
@@ -140,26 +140,6 @@
(undo)
(buffer-string))))))
-(ert-deftest undo-test3 ()
- "Test modtime with \\[undo] command."
- (let ((tmpfile (make-temp-file "undo-test3")))
- (with-temp-file tmpfile
- (let ((buffer-file-name tmpfile))
- (buffer-enable-undo)
- (set (make-local-variable 'make-backup-files) nil)
- (undo-boundary)
- (insert ?\s)
- (undo-boundary)
- (basic-save-buffer)
- (insert ?\t)
- (undo)
- (should
- (string-equal (buffer-string)
- (progn
- (undo)
- (buffer-string)))))
- (delete-file tmpfile))))
-
(ert-deftest undo-test4 ()
"Test \\[undo] of \\[flush-lines]."
(with-temp-buffer