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
|
|
@ -7,21 +7,21 @@ input
|
|||
|
||||
f = Foo();
|
||||
if (f.foo(2) != 4)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
try
|
||||
a=f.foo();
|
||||
error
|
||||
error("failed");
|
||||
catch
|
||||
end_try_catch
|
||||
|
||||
if (!strcmp(sfoo("Hello"),"Hello world"))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
try
|
||||
a=sfoo();
|
||||
error
|
||||
error("failed");
|
||||
catch
|
||||
end_try_catch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue