changeset 53200:0b30bde2e733

testcover.el: Changes to 1value and noreturn
author Jonathan Yavner <jyavner@member.fsf.org>
date Sun, 30 Nov 2003 07:33:32 +0000
parents 3676261cec06
children c90162ba57c6
files etc/NEWS
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sun Nov 30 06:58:00 2003 +0000
+++ b/etc/NEWS	Sun Nov 30 07:33:32 2003 +0000
@@ -2012,8 +2012,11 @@
 to always evaluate to the same value, such as (setq x 14).
 
 *** For difficult cases, you can add do-nothing macros to your code to help
-out the test coverage tool.  The macro 1value suppresses a brown splotch for
-its argument.  The macro noreturn suppresses a red splotch.
+out the test coverage tool.  The macro `noreturn' suppresses a red splotch.
+It is an error if the argument to `noreturn' does return.  The macro 1value
+suppresses a brown splotch for its argument.  This macro is a no-op except
+during test-coverage -- then it signals an error if the argument actually
+returns differing values.
 
 +++
 ** New function unsafep returns nil if the given Lisp form can't possibly