emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 3a21ea1: Add more abbrev tests


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 3a21ea1: Add more abbrev tests
Date: Tue, 03 May 2016 12:54:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> +  (let* ((table (obarray-make)))
> +    (abbrev-table-put table :abbrev-table-modiff 42)
> +    (should (abbrev-table-empty-p table))))

AFAIK this is a detail of the implementation, so I'm not sure we want to
test it.
I'd rather test

    (should (abbrev-table-empty-p (make-abbrev-table)))


-- Stefan



reply via email to

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