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
|
|
@ -140,23 +140,23 @@ endif
|
|||
|
||||
|
||||
if (li_std_string_extra.test_reference_input("hello") != "hello")
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
s = li_std_string_extra.test_reference_inout("hello");
|
||||
if (s != "hellohello")
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
if (li_std_string_extra.stdstring_empty() != "")
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
||||
if (li_std_string_extra.c_empty() != "")
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
#if (li_std_string_extra.c_null() != None)
|
||||
# error
|
||||
# error("failed");
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue