Octave: error() must be called with an argument

This commit is contained in:
Karl Wette 2020-06-08 03:18:37 +10:00
commit 251ab662bf
77 changed files with 308 additions and 308 deletions

View file

@ -4,7 +4,7 @@ f = Foo();
f.y = 1;
if (f.y != 1)
error
error("failed");
endif
b = Bar(f);
@ -15,18 +15,18 @@ if (f.y != 2)
endif
if (swig_this(b.x) != swig_this(f.x))
error
error("failed");
endif
if (b.z != f.z)
error
error("failed");
endif
try
if (Foo.z == Bar.z)
error
error("failed");
endif
error
error("failed");
catch
end_try_catch