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
|
|
@ -9,7 +9,7 @@ f = Foo();
|
|||
b = Bar(f);
|
||||
|
||||
if (b.extension() != f.extension())
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
|
|
@ -18,15 +18,15 @@ d = CDerived();
|
|||
p = CPtr();
|
||||
|
||||
if (b.bar() != p.bar())
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (d.foo() != p.foo())
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (b.hello() != p.hello())
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
|
|
@ -36,11 +36,11 @@ d = DFoo();
|
|||
dp = DPtrFoo(d);
|
||||
|
||||
if (d.SExt(1) != dp.SExt(1))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (d.Ext(1) != dp.Ext(1))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue