From: Lars Ingebrigtsen Date: Tue, 3 May 2016 17:21:47 +0000 (+0200) Subject: abbrev-tests.el fix X-Git-Tag: emacs-26.0.90~2003 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a788d7a4126e9b7038140ee95fe7b5b9d8fe65c;p=emacs.git abbrev-tests.el fix * test/lisp/abbrev-tests.el (abbrev-table-p-test): Don't check internal implementation detail. --- diff --git a/test/lisp/abbrev-tests.el b/test/lisp/abbrev-tests.el index 3c345210d20..c747e19db88 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: