diff scripts/general/profshow.m @ 13056:66662c033301

codesprint: tests or profshow * profshow.m: New tests.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Sep 2011 13:15:02 -0400
parents 9db4e9b352d6
children e81ddf9cacd5
line wrap: on
line diff
--- a/scripts/general/profshow.m	Sat Sep 03 12:23:35 2011 -0500
+++ b/scripts/general/profshow.m	Sat Sep 03 13:15:02 2011 -0400
@@ -100,3 +100,7 @@
 %! myfib (20);
 %! profile ("off");
 %! profshow (profile ("info"), 5);
+
+%!error profshow ();
+%!error profshow (1, 2, 3);
+%!error profshow (struct (), 1.2);