Octave: error() must be called with an argument
This commit is contained in:
parent
01a2d5fe4c
commit
251ab662bf
77 changed files with 308 additions and 308 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue