Mercurial > hg > octave-lyh
diff scripts/help/gen_doc_cache.m @ 13067:875577a19d70
codesprint: Add 1 input validation test for gen_doc_cache()
gen_doc_cache.m: Add 1 input validation test.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 03 Sep 2011 12:07:05 -0700 |
parents | d5bd2766c640 |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/scripts/help/gen_doc_cache.m +++ b/scripts/help/gen_doc_cache.m @@ -32,6 +32,7 @@ ## @end deftypefn function gen_doc_cache (out_file = "doc-cache", directory = []) + ## Check input if (!ischar (out_file)) print_usage (); @@ -143,3 +144,8 @@ cache = create_cache (list); endfunction + +%% No true tests desirable for this function. +%% Test input validation +%!error gen_doc_cache (1) +