unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Leo Liu <sdl.web@gmail.com>
Cc: 20066@debbugs.gnu.org
Subject: bug#20066: 24.4; should-error and cl-assert
Date: Tue, 07 Apr 2015 14:47:00 +0200	[thread overview]
Message-ID: <87k2xogl6j.fsf@yahoo.fr> (raw)
In-Reply-To: <m2vbh85qmq.fsf@gmail.com> (Leo Liu's message of "Tue, 07 Apr 2015 15:44:45 +0800")

Leo Liu <sdl.web@gmail.com> writes:
> Any comments on this bug?

Hi,

I can't seem to reproduce :

 $ src/emacs --version
GNU Emacs 25.0.50.1
Copyright (C) 2015 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
 $ src/emacs --batch -l ert --eval '(should-error (cl-assert nil t))'; echo $?
0
 $ src/emacs --batch -l ert --eval '(should-error (error "yes"))'; echo $?
0
 $ src/emacs --batch -l ert --eval '(should-error nil)'; echo $?
Test failed: ((should-error nil) :form nil :value nil :fail-reason "did not signal an error")
255

-- 
Nicolas Richard





  reply	other threads:[~2015-04-07 12:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09  8:06 bug#20066: 24.4; should-error and cl-assert Leo Liu
2015-03-09 16:12 ` Wolfgang Jenkner
2015-04-07  7:44 ` Leo Liu
2015-04-07 12:47   ` Nicolas Richard [this message]
2015-04-07 13:10     ` Nicolas Richard
2015-04-08  2:05   ` Stefan Monnier
2015-04-08  4:15     ` Leo Liu

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=87k2xogl6j.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=20066@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /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).