comparison scripts/testfun/test.m @ 31788:b482ed13ac1a stable

doc: Use hyphen in "comma-separated list". * container.txi, octave.texi, graphics.cc, deal.m, importdata.m, test.m: Use hyphen in "comma-separated list".
author Rik <rik@octave.org>
date Fri, 27 Jan 2023 14:27:10 -0800
parents 597f3ee61a48
children cb56ab555113
comparison
equal deleted inserted replaced
31786:4ccdb13c160a 31788:b482ed13ac1a
1098 ## %!test error ("---------Failure tests. Use test('test','verbose',1)"); 1098 ## %!test error ("---------Failure tests. Use test('test','verbose',1)");
1099 ## %!test assert ([a,b,c],[1,3,6]); # variables have wrong values 1099 ## %!test assert ([a,b,c],[1,3,6]); # variables have wrong values
1100 ## %!invalid # unknown block type 1100 ## %!invalid # unknown block type
1101 ## %!error toeplitz ([1,2,3]); # correct usage 1101 ## %!error toeplitz ([1,2,3]); # correct usage
1102 ## %!test syntax errors) # syntax errors fail properly 1102 ## %!test syntax errors) # syntax errors fail properly
1103 ## %!shared garbage in # variables must be comma separated 1103 ## %!shared garbage in # variables must be comma-separated
1104 ## %!error syntax++error # error test fails on syntax errors 1104 ## %!error syntax++error # error test fails on syntax errors
1105 ## %!error "succeeds."; # error test fails if code succeeds 1105 ## %!error "succeeds."; # error test fails if code succeeds
1106 ## %!error <wrong pattern> error ("message") # error pattern must match 1106 ## %!error <wrong pattern> error ("message") # error pattern must match
1107 ## %!demo with syntax error # syntax errors in demo fail properly 1107 ## %!demo with syntax error # syntax errors in demo fail properly
1108 ## %!shared a,b,c 1108 ## %!shared a,b,c