summaryrefslogtreecommitdiff
path: root/doc/misc/ert.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-10-31 17:02:51 -0400
committerGlenn Morris <rgm@gnu.org>2012-10-31 17:02:51 -0400
commitdd90fd1a45ddef772b52f67a89648be787c05dd5 (patch)
tree4704293bf79454ea364edfd5535cb74003579f3d /doc/misc/ert.texi
parent88390adf4088a332a4c0c9659b3cc3ae87eef30a (diff)
downloademacs-dd90fd1a45ddef772b52f67a89648be787c05dd5.tar.gz
emacs-dd90fd1a45ddef772b52f67a89648be787c05dd5.tar.bz2
emacs-dd90fd1a45ddef772b52f67a89648be787c05dd5.zip
Trivial ert.texi update for cl-lib namespace
* doc/misc/ert.texi (Introduction, The @code{should} Macro): Refer to "cl-assert" rather than "assert".
Diffstat (limited to 'doc/misc/ert.texi')
-rw-r--r--doc/misc/ert.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index b357b3d5e67..b585b68daa8 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -130,7 +130,7 @@ familiar: This example defines a test named @code{pp-test-quote} that
will pass if the three calls to @code{equal} all return true
(non-nil).
-@code{should} is a macro with the same meaning as @code{assert} but
+@code{should} is a macro with the same meaning as @code{cl-assert} but
better error reporting. @xref{The @code{should} Macro}.
Each test should have a name that describes what functionality it tests.
@@ -342,7 +342,7 @@ to find where a test was defined if the test was loaded from a file.
Test bodies can include arbitrary code; but to be useful, they need to
check whether the code being tested (or @emph{code under test})
does what it is supposed to do. The macro @code{should} is similar to
-@code{assert} from the cl package
+@code{cl-assert} from the cl package
(@pxref{Assertions,,, cl, Common Lisp Extensions}),
but analyzes its argument form and records information that ERT can
display to help debugging.