Trivial ert.texi update for cl-lib namespace
authorGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2012 21:02:51 +0000 (17:02 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 31 Oct 2012 21:02:51 +0000 (17:02 -0400)
* doc/misc/ert.texi (Introduction, The @code{should} Macro):
Refer to "cl-assert" rather than "assert".

doc/misc/ChangeLog
doc/misc/ert.texi

index 11fe77e..b77147f 100644 (file)
@@ -1,5 +1,8 @@
 2012-10-31  Glenn Morris  <rgm@gnu.org>
 
+       * ert.texi (Introduction, The @code{should} Macro):
+       Refer to "cl-assert" rather than "assert".
+
        * cl.texi (Function Bindings): Update for cl-flet and cl-labels.
        (Obsolete Lexical Binding): Rename section from "Lexical Bindings".
        (Obsolete Macros): Rename section from "Obsolete Lexical Macros".
index b357b3d..b585b68 100644 (file)
@@ -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.