]> git.eshelyaron.com Git - emacs.git/commitdiff
* automated/undo-tests.el (undo-test3): Remove test that seems to
authorGlenn Morris <rgm@gnu.org>
Thu, 27 Jun 2013 02:00:54 +0000 (19:00 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 27 Jun 2013 02:00:54 +0000 (19:00 -0700)
nothing that the previous one doesn't, except leave a tempfile.

Fix copyright header.

test/ChangeLog
test/automated/undo-tests.el

index 4aaa5f12bb7be9d8a72c2a9ec6d86658ffbdc6ff..1b2b8851704b8b781ff1f24c743fa3130657f5f2 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-27  Glenn Morris  <rgm@gnu.org>
+
+       * automated/undo-tests.el (undo-test3): Remove test that seems to
+       nothing that the previous one doesn't, except leave a tempfile.
+
 2013-06-26  Glenn Morris  <rgm@gnu.org>
 
        * automated/info-xref.el: New file.
index 3037db03602df9310c6c2028f2e18a3c2a3f7af3..98b0c52728b898beb5ce1d3608c1fefb5399d7a8 100644 (file)
@@ -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>
 
                      (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