summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/template_typedef_cplx2_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/template_typedef_cplx2_runme.m')
-rw-r--r--Examples/test-suite/octave/template_typedef_cplx2_runme.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/test-suite/octave/template_typedef_cplx2_runme.m b/Examples/test-suite/octave/template_typedef_cplx2_runme.m
index a72e0f1e0..eb783fe81 100644
--- a/Examples/test-suite/octave/template_typedef_cplx2_runme.m
+++ b/Examples/test-suite/octave/template_typedef_cplx2_runme.m
@@ -15,7 +15,7 @@ end_try_catch
if (strfind('ArithUnaryFunction',swig_type(d)) != 1)
d
error("is not an ArithUnaryFunction")
- error
+ error("failed");
endif
try
@@ -77,7 +77,7 @@ end_try_catch
if (strfind('ArithUnaryFunction',swig_type(g)) != 1)
g
error("is not an ArithUnaryFunction")
- error
+ error("failed");
endif
@@ -98,6 +98,6 @@ try
a = g.get_value();
catch
error(g, "has not get_value() method")
- error
+ error("failed");
end_try_catch