# HG changeset patch # User Rik # Date 1668532422 28800 # Node ID 21b5e1c4d36e6dd7b0d23761acea614aa0f268cd # Parent b6dcb53aaa654e7d1c2a99e67d3513454d3ad2f5 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. diff -r b6dcb53aaa65 -r 21b5e1c4d36e scripts/help/get_first_help_sentence.m --- 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...")