Mercurial > octave-nkf
changeset 13046:b2aca5ac54a2
codesprint: argument checking tests for celldisp
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 03 Sep 2011 11:52:46 -0400 |
parents | 92cb87addf25 |
children | 69a4609e61e2 |
files | scripts/general/celldisp.m |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/celldisp.m Sat Sep 03 17:44:20 2011 +0200 +++ b/scripts/general/celldisp.m Sat Sep 03 11:52:46 2011 -0400 @@ -80,4 +80,8 @@ %!demo %! c = {1, 2, {31, 32}}; -%! celldisp(c, "b") \ No newline at end of file +%! celldisp(c, "b") + +%!error celldisp (); +%!error celldisp ({}, "name", 1); +%!error celldisp (1);