octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62648] build problem with texinfo>6.8


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #62648] build problem with texinfo>6.8
Date: Wed, 16 Nov 2022 09:05:03 -0500 (EST)

Follow-up Comment #39, bug #62648 (project octave):

What did I do?! I was so absorbed in getting that regexp to satisfy all
combinations of punctuation that I forgot to wrap it in assert! Facepalm.

New diff:

diff -r 0924234dd747 scripts/help/__unimplemented__.m
--- a/scripts/help/__unimplemented__.m  Tue Nov 15 18:37:58 2022 -0800
+++ b/scripts/help/__unimplemented__.m  Wed Nov 16 09:03:11 2022 -0500
@@ -1340,8 +1340,8 @@ endfunction
 
 %!test
 %! str = __unimplemented__ ("matlabrc");
-%! assert (str(1:71), "matlabrc is not implemented.  Octave uses the file
'.octaverc' instead.");
+%! assert (regexp (str, "matlabrc is not implemented.  Octave uses the file
.\.octaverc. instead\."));
 
 %!test
 %! str = __unimplemented__ ("MException");
-%! assert (str(1:58), "The 'MException' function is not yet implemented in
Octave");
+%! assert (regexp (str, "The .MException. function is not yet implemented in
Octave"));




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62648>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]