Mercurial > octave
view test/bug-56068/bug-56068.tst @ 30244:4fe897f5db8e
print_usage.m: Fix error on invalid texinfo (bug #61363).
* scripts/help/print_usage.m (get_usage_texinfo): Do not call __makeinfo__ if
help string doesn't contain a @def* macro.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 21 Oct 2021 16:42:38 +0200 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!test <*56068> %! res = textscan (evalc ("bug_56068"), "%s", "delimiter", "\n"); %! f_cell = textscan (fileread ("bug_56068.m"), "%s", "delimiter", "\n"); %! f_echo = cellfun (@(x) sprintf ([PS4 "%s"], x), ... %! f_cell{1}([2,3,4,5,8,9,10,11]), ... %! "uniformoutput", false); %! %! assert (numel (res{1}), 15); %! assert (all (strcmp (res{1}([2,3,5,7,10,11,13,15]), f_echo)));