From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Richard <youngfrog@members.fsf.org>
Cc: schwab@suse.de, 21633@debbugs.gnu.org
Subject: bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument
Date: Tue, 06 Oct 2015 19:01:04 +0300 [thread overview]
Message-ID: <83a8rwx9z3.fsf@gnu.org> (raw)
In-Reply-To: <87vbak0zh5.fsf@members.fsf.org>
> From: Nicolas Richard <youngfrog@members.fsf.org>
> Cc: schwab@suse.de, 21633@debbugs.gnu.org
> Date: Tue, 06 Oct 2015 17:48:54 +0200
>
> > Would you like to write a test for this bug?
>
> I would add
>
> (ert-deftest core-elisp-self-insert-command-with-negative-argument ()
> "Test `self-insert-command' with a negative argument."
> (let ((last-command-event ?a))
> (should-error (self-insert-command -1))))
Yep.
> to test/automated/core-elisp-tests.el.
>
> I didn't find a better place. WDYT ?
I thought about cmds-tests.el, a new file for the stuff in cmds.c (a
kind-of promise for the future ;-). But I don't insist, it's up to
you.
Thanks.
next prev parent reply other threads:[~2015-10-06 16:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 9:11 bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument Nicolas Richard
2015-10-06 9:42 ` Andreas Schwab
2015-10-06 12:26 ` Nicolas Richard
2015-10-06 12:44 ` Andreas Schwab
2015-10-06 15:07 ` Eli Zaretskii
2015-10-06 15:48 ` Nicolas Richard
2015-10-06 16:01 ` Eli Zaretskii [this message]
2015-10-06 9:54 ` Andreas Schwab
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=83a8rwx9z3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=21633@debbugs.gnu.org \
--cc=schwab@suse.de \
--cc=youngfrog@members.fsf.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).