diff scripts/plot/waitbar.m @ 13813:72875370e2d1

allow waitbar test to succeed even if figure 1 exists * waitbar.m: Use struct() instead of 1 as second argument in error test.
author John W. Eaton <jwe@octave.org>
date Fri, 04 Nov 2011 05:01:00 -0400
parents a73c0811d2fa
children 7ee18dc46bbb
line wrap: on
line diff
--- a/scripts/plot/waitbar.m	Fri Nov 04 04:55:40 2011 -0400
+++ b/scripts/plot/waitbar.m	Fri Nov 04 05:01:00 2011 -0400
@@ -141,6 +141,6 @@
 %% Test input validation
 %!error <FRAC must be between 0 and 1> waitbar (-0.5)
 %!error <FRAC must be between 0 and 1> waitbar (1.5)
-%!error <MSG must be a character string> waitbar (0.5, 1)
+%!error <MSG must be a character string> waitbar (0.5, struct ())
 %!error <invalid number of property-value pairs> waitbar (0.5, "msg", "Name")