diff scripts/miscellaneous/ans.m @ 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 c792872f8942
children 72c96de7a403
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)
+