bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20066: 24.4; should-error and cl-assert


From: Nicolas Richard
Subject: bug#20066: 24.4; should-error and cl-assert
Date: Tue, 07 Apr 2015 14:47:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]