[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21633: 25.0.50; assertion failure, self-insert-command with negative
From: |
Eli Zaretskii |
Subject: |
bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument |
Date: |
Tue, 06 Oct 2015 19:01:04 +0300 |
> 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.
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Nicolas Richard, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Andreas Schwab, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Nicolas Richard, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Andreas Schwab, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Eli Zaretskii, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Nicolas Richard, 2015/10/08
- bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument,
Eli Zaretskii <=
bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument, Andreas Schwab, 2015/10/08