diff doc/interpreter/testfun.txi @ 6731:aff0c76321aa

[project @ 2007-06-15 15:53:18 by jwe]
author jwe
date Fri, 15 Jun 2007 15:53:18 +0000
parents a25173d58101
children 8b0cfeb06365
line wrap: on
line diff
--- a/doc/interpreter/testfun.txi	Fri Jun 15 04:22:13 2007 +0000
+++ b/doc/interpreter/testfun.txi	Fri Jun 15 15:53:18 2007 +0000
@@ -116,7 +116,8 @@
 failures, mark the block with @code{xtest} rather than @code{test}:
 
 @example
-   %!xtest error ("This test is known to fail.")
+   %!xtest assert (1==0)
+   %!xtest fail ('success=1','error'))
 @end example
 
 Another use of @code{xtest} is for statistical tests which should