GNU bug report logs -
#20066
24.4; should-error and cl-assert
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Mon, 9 Mar 2015 08:07:02 UTC
Severity: normal
Found in version 24.4
Done: Leo Liu <sdl.web <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Leo Liu <sdl.web <at> 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
This bug report was last modified 10 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.