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,15 +7,15 @@ li_cstring
|
|||
|
||||
|
||||
if (count("ab\0ab\0ab\0", 0) != 3)
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test1(),"Hello World"))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test2()," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_"))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test3("hello"),"hello-suffix"))
|
||||
|
|
@ -27,18 +27,18 @@ if (!strcmp(test4("hello"),"hello-suffix"))
|
|||
endif
|
||||
|
||||
if (!strcmp(test5(4),'xxxx'))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test6(10),'xxxxx'))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test7(),"Hello world!"))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
if (!strcmp(test8()," !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_"))
|
||||
error
|
||||
error("failed");
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue