]> git.eshelyaron.com Git - emacs.git/commitdiff
abbrev-tests.el fix
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2016 17:21:47 +0000 (19:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2016 17:21:47 +0000 (19:21 +0200)
* test/lisp/abbrev-tests.el (abbrev-table-p-test): Don't check
internal implementation detail.

test/lisp/abbrev-tests.el

index 3c345210d200a8852afabc6d015329ba09cac684..c747e19db886d16bf5ff45b62468e1165043f34f 100644 (file)
@@ -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: