mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
; * doc/misc/ert.texi (Introduction): Be more Lisp-specific.
This commit is contained in:
parent
be4819bd57
commit
b5967dda32
1 changed files with 5 additions and 5 deletions
|
|
@ -134,11 +134,11 @@ package @file{pp.el}):
|
||||||
;; (pp-to-string '('a 'b)) ; same as above
|
;; (pp-to-string '('a 'b)) ; same as above
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
The code contained in these comments can be evaluated from time to
|
The Lisp forms contained in these comments can be evaluated from time to
|
||||||
time to compare the output with the expected output. ERT formalizes
|
time, e.g. with @kbd{C-x C-e}, to compare the output with the expected
|
||||||
this and introduces a common convention, which simplifies Emacs
|
output. ERT formalizes this and introduces a common convention, which
|
||||||
development, since programmers no longer have to manually find and
|
simplifies Emacs development, since programmers no longer have to
|
||||||
evaluate such comments.
|
manually find and evaluate such comments.
|
||||||
|
|
||||||
An ERT test definition equivalent to the above comments is this:
|
An ERT test definition equivalent to the above comments is this:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue