aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/template_typedef_cplx_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/template_typedef_cplx_runme.m')
-rw-r--r--Examples/test-suite/octave/template_typedef_cplx_runme.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/Examples/test-suite/octave/template_typedef_cplx_runme.m b/Examples/test-suite/octave/template_typedef_cplx_runme.m
index d00981cec..9e3e3888f 100644
--- a/Examples/test-suite/octave/template_typedef_cplx_runme.m
+++ b/Examples/test-suite/octave/template_typedef_cplx_runme.m
@@ -12,7 +12,7 @@ catch
error("is not an instance")
end_try_catch
-if (findstr("ArithUnaryFunction",swig_type(d)) != 1)
+if (strfind("ArithUnaryFunction",swig_type(d)) != 1)
d
error("is not an ArithUnaryFunction")
endif
@@ -24,7 +24,7 @@ catch
error(e, "is not an instance")
end_try_catch
-if (findstr('ArithUnaryFunction',swig_type(e)) != 1);
+if (strfind('ArithUnaryFunction',swig_type(e)) != 1);
c
error("is not an ArithUnaryFunction")
endif
@@ -42,7 +42,7 @@ catch
error("is not an instance")
end_try_catch
-if (findstr('ArithUnaryFunction',swig_type(c)) != 1)
+if (strfind('ArithUnaryFunction',swig_type(c)) != 1)
c
error("is not an ArithUnaryFunction")
endif
@@ -55,7 +55,7 @@ catch
error("is not an instance")
end_try_catch
-if (findstr('ArithUnaryFunction',swig_type(f)) != 1)
+if (strfind('ArithUnaryFunction',swig_type(f)) != 1)
f
error("is not an ArithUnaryFunction")
endif
@@ -72,7 +72,7 @@ catch
error("is not an instance")
end_try_catch
-if (findstr('ArithUnaryFunction',swig_type(g)) != 1)
+if (strfind('ArithUnaryFunction',swig_type(g)) != 1)
g
error("is not an ArithUnaryFunction")
endif
@@ -86,7 +86,7 @@ catch
error("is not an instance")
end_try_catch
-if (findstr('ArithUnaryFunction',swig_type(h)) != 1)
+if (strfind('ArithUnaryFunction',swig_type(h)) != 1)
h
error("is not an ArithUnaryFunction")
endif