[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110757: Trivial ert.texi update for
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110757: Trivial ert.texi update for cl-lib namespace |
Date: |
Wed, 31 Oct 2012 17:02:51 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110757
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-10-31 17:02:51 -0400
message:
Trivial ert.texi update for cl-lib namespace
* doc/misc/ert.texi (Introduction, The @code{should} Macro):
Refer to "cl-assert" rather than "assert".
modified:
doc/misc/ChangeLog
doc/misc/ert.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog 2012-10-31 07:25:18 +0000
+++ b/doc/misc/ChangeLog 2012-10-31 21:02:51 +0000
@@ -1,5 +1,8 @@
2012-10-31 Glenn Morris <address@hidden>
+ * 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".
=== modified file 'doc/misc/ert.texi'
--- a/doc/misc/ert.texi 2012-05-02 01:22:26 +0000
+++ b/doc/misc/ert.texi 2012-10-31 21:02:51 +0000
@@ -130,7 +130,7 @@
will pass if the three calls to @code{equal} all return true
(non-nil).
address@hidden is a macro with the same meaning as @code{assert} but
address@hidden 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 @@
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
address@hidden from the cl package
address@hidden 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110757: Trivial ert.texi update for cl-lib namespace,
Glenn Morris <=