Assertions: Difference between revisions

m
Emacs Lisp: Use cl-lib
(Tweak irregular header markup)
m (Emacs Lisp: Use cl-lib)
Line 642:
 
=={{header|Emacs Lisp}}==
<lang lisp>(require 'cl-lib)
Assertion can be loaded from cl.el:
<lang lisp>(require 'cl)
(let ((x 41))
(cl-assert (= x 42) t "theThis answer is notshouldn't righthappen"))</lang>
 
=={{header|Erlang}}==
Anonymous user