changeset 30928:fc3b7160ba77 stable

Fix test broken in 5044c6918fdf. * libinterp/parse-tree/bp-table.cc: Adapt test for changed line numbers in "ls".
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 11 Apr 2022 18:34:05 +0200
parents 5044c6918fdf
children c5284aceb80b f67d2ce5d6d4
files libinterp/parse-tree/bp-table.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/bp-table.cc	Mon Apr 11 15:58:27 2022 +0200
+++ b/libinterp/parse-tree/bp-table.cc	Mon Apr 11 18:34:05 2022 +0200
@@ -539,13 +539,13 @@
 %! dbstop help;
 %! dbstop in ls;
 %! dbstop help at 104;
-%! dbstop in ls 102;     ## 102 is a comment; code line is at 105
+%! dbstop in ls 121;     ## 121 is a comment; code line is at 124
 %! dbstop help 204 if a==5;
 %! dbstop if error Octave:undefined-function;
 %! s = dbstatus;
 %! dbclear all;
 %! assert ({s.bkpt(:).name}, {"help", "help", "help>do_contents", "ls", "ls"});
-%! assert ([s.bkpt(:).line], [55, 105, 207, 63, 102]);
+%! assert ([s.bkpt(:).line], [55, 105, 207, 63, 124]);
 %! assert (s.errs, {"Octave:undefined-function"});
 */