Mercurial > hg > octave-terminal
changeset 12794:dd8a2a448788
codesprint: Add trivial assert(1) test to documentation-only .m files.
* ans.m, comma.m, paren.m, semicolon.m: Add trivial assert(1) test to stop
files being reported as lacking tests.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 16 Jul 2011 09:45:31 -0700 |
parents | 6f91ca83d2be |
children | 9e7ebbaf69ff |
files | scripts/miscellaneous/ans.m scripts/miscellaneous/comma.m scripts/miscellaneous/paren.m scripts/miscellaneous/semicolon.m |
diffstat | 4 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/ans.m +++ b/scripts/miscellaneous/ans.m @@ -28,3 +28,7 @@ ## @noindent ## is evaluated, the value returned by @code{ans} is 25. ## @end defvr + +## Mark file as being tested. No real test needed for a documentation .m file +%!assert (1) +
--- a/scripts/miscellaneous/comma.m +++ b/scripts/miscellaneous/comma.m @@ -21,3 +21,7 @@ ## Array index, function argument, or command separator. ## @seealso{semicolon} ## @end deftypefn + +## Mark file as being tested. No real test needed for a documentation .m file +%!assert (1) +