emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113194: * automated/undo-tests.el (undo-test3): Rem


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113194: * automated/undo-tests.el (undo-test3): Remove test that seems to
Date: Thu, 27 Jun 2013 02:00:58 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113194
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-06-26 19:00:54 -0700
message:
  * 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.
modified:
  test/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-8588
  test/automated/undo-tests.el   undotests.el-20130108184711-brlnvjau5r1ardib-1
=== modified file 'test/ChangeLog'
--- a/test/ChangeLog    2013-06-26 01:52:09 +0000
+++ b/test/ChangeLog    2013-06-27 02:00:54 +0000
@@ -1,3 +1,8 @@
+2013-06-27  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        * automated/info-xref.el: New file.

=== modified file 'test/automated/undo-tests.el'
--- a/test/automated/undo-tests.el      2013-01-09 21:29:27 +0000
+++ b/test/automated/undo-tests.el      2013-06-27 02:00:54 +0000
@@ -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 <address@hidden>
 
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]