Mercurial > octave
changeset 31430:21b5e1c4d36e
get_first_help_sentence.m: Fix BIST test on MacOs (bug #62648)
* get_first_help_sentence.m: Use regexp() in BIST test to avoid comparing
apostrophe character in output.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 15 Nov 2022 09:13:42 -0800 |
parents | b6dcb53aaa65 |
children | 84e8f0bf83f7 |
files | scripts/help/get_first_help_sentence.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/help/get_first_help_sentence.m Tue Nov 15 13:16:41 2022 +0100 +++ b/scripts/help/get_first_help_sentence.m Tue Nov 15 09:13:42 2022 -0800 @@ -181,8 +181,8 @@ endfunction -%!assert (get_first_help_sentence ('get_first_help_sentence'), ... -%! "Return the first sentence of a function's help text.") +%!assert (regexp (get_first_help_sentence ('get_first_help_sentence'), ... +%! "Return the first sentence of a function.s help text\.")) %!assert (get_first_help_sentence ('get_first_help_sentence', 28), ... %! "Return the first sentence...")