From: Joost Kremers <joostkremers@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: Undefining an ERT test?
Date: Fri, 12 Jun 2020 01:01:17 +0200 [thread overview]
Message-ID: <87a719dx6q.fsf@fastmail.fm> (raw)
In-Reply-To: <1b7504cc-2b1c-f155-c173-c85d0a3bce7f@gmail.com>
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
next prev parent reply other threads:[~2020-06-11 23:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 21:52 Undefining an ERT test? Douglas Lewan
2020-06-11 22:10 ` Joost Kremers
2020-06-11 22:27 ` Douglas Lewan
2020-06-11 23:01 ` Joost Kremers [this message]
2020-06-11 23:22 ` Douglas Lewan
2020-06-11 23:37 ` Joost Kremers
2020-06-12 4:17 ` Douglas Lewan
2020-06-12 6:26 ` Joost Kremers
2020-06-12 6:51 ` Douglas Lewan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a719dx6q.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).