Mercurial > hg > octave-lyh
diff scripts/testfun/fail.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | eb63fbe60fab |
children | 95c3e38098bf |
line wrap: on
line diff
--- a/scripts/testfun/fail.m +++ b/scripts/testfun/fail.m @@ -24,7 +24,7 @@ ## @deftypefnx {Function File} {} fail (@var{code},'warning',@var{pattern}) ## ## Return true if @var{code} fails with an error message matching -## @var{pattern}, otherwise produce an error. Note that @var{code} +## @var{pattern}, otherwise produce an error. Note that @var{code} ## is a string and if @var{code} runs successfully, the error produced is: ## ## @example @@ -34,8 +34,10 @@ ## If the code fails with a different error, the message produced is: ## ## @example +## @group ## expected <pattern> ## but got <text of actual error> +## @end group ## @end example ## ## The angle brackets are not part of the output.