changeset 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 d3f0d75faf2c
children a45535d630bd
files scripts/plot/waitbar.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/waitbar.m
+++ b/scripts/plot/waitbar.m
@@ -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")