help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Undefining an ERT test?


From: Joost Kremers
Subject: Re: Undefining an ERT test?
Date: Fri, 12 Jun 2020 01:01:17 +0200
User-agent: mu4e 1.5.2; emacs 27.0.91


On Fri, Jun 12 2020, Douglas Lewan wrote:
On 6/11/20 6:10 PM, Joost Kremers wrote:

On Thu, Jun 11 2020, Douglas Lewan wrote:
So, the question is: Is there something like (fmakunbound) for ERT?

There is `ert-make-test-unbound`.

Thanks, that looks like just the thing.

It's not in my info file (I'm on emacs 24.5). I don't find it in my 26.3 source tree either. Should it be?

Don't know about 24.5, but I'm pretty sure it should be in 26.3, because I remember using it when I was running 26.3.

Just to make sure, I checked out the emacs-26 branch in my local copy of the Emacs git repo, and it *is* there, in `ert.el`.

BTW, there's also `ert-delete-test` and `ert-delete-all-tests`, which are interactive functions (`ert-make-test-unbound` is not), so you can call them with `M-x`.

HTH

--
Joost Kremers
Life has its moments



reply via email to

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