emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 3a788d7: abbrev-tests.el fix


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 3a788d7: abbrev-tests.el fix
Date: Tue, 03 May 2016 17:22:04 +0000

branch: master
commit 3a788d7a4126e9b7038140ee95fe7b5b9d8fe65c
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    abbrev-tests.el fix
    
    * test/lisp/abbrev-tests.el (abbrev-table-p-test): Don't check
    internal implementation detail.
---
 test/lisp/abbrev-tests.el |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/lisp/abbrev-tests.el b/test/lisp/abbrev-tests.el
index 3c34521..c747e19 100644
--- a/test/lisp/abbrev-tests.el
+++ b/test/lisp/abbrev-tests.el
@@ -46,8 +46,7 @@
   ;; Missing :abbrev-table-modiff counter:
   (should-not (abbrev-table-p (obarray-make)))
   (let* ((table (obarray-make)))
-    (abbrev-table-put table :abbrev-table-modiff 42)
-    (should (abbrev-table-p table))))
+    (should (abbrev-table-empty-p (make-abbrev-table)))))
 
 (ert-deftest abbrev-make-abbrev-table-test ()
   ;; Table without properties:



reply via email to

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