diff scripts/help/help.m @ 13763:85d63b6e49cf

help.m: Add functional tests * help.m: Add functional tests
author Rik <octave@nomad.inbox5.com>
date Thu, 27 Oct 2011 15:57:23 -0700
parents 68ac95d2460c
children 72c96de7a403
line wrap: on
line diff
--- a/scripts/help/help.m	Thu Oct 27 15:43:34 2011 -0700
+++ b/scripts/help/help.m	Thu Oct 27 15:57:23 2011 -0700
@@ -179,3 +179,7 @@
   endif
 
 endfunction
+
+
+%!assert (! isempty (findstr (help ("ls"), "List directory contents")))
+%!error <invalid input> help (42)