Skip to content

Commit

Permalink
Remove highlighting in bug-loc test...
Browse files Browse the repository at this point in the history
We really ensre that highlighting is in effect, and highlighting markup
is fragile
  • Loading branch information
rocky committed Jul 5, 2024
1 parent ce6d463 commit 51b51d2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions test/data/bug-loc.right
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
(bug-loc.sh:5):
5: dirname=${BASH_SOURCE%/*} # equivalent to dirname($0)
5: dirname=${BASH_SOURCE%/*} # equivalent to dirname($0)
+# Test to see that we read in files that mentioned in breakpoints
+# but we don't step into.
+step
+step
(bug-loc.sh:6):
6: source ${dirname}/library.sh
+step
6: source ${dirname}/library.sh
+step
(bug-loc.sh:7):
7: echo 'script line 7'
+step
7: echo 'script line 7'
+step
script line 7
(bug-loc.sh:8):
8: library-function
+step
+step
(library.sh:1):
1: library-function() {
+step
+step
(library.sh:2):
2: echo 'library line 2 in library-function'
+step
2: echo 'library line 2 in library-function'
+step
library line 2 in library-function
(bug-loc.sh:11):
11: echo 'script line 11'
+quit
11: echo 'script line 11'
+quit
bashdb: That's all, folks...
2 changes: 1 addition & 1 deletion test/integration/test-bug-loc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ t=${0##*/}; TEST_NAME=${t:5} # basename $0 with 'test-' stripped off
debugged_script="$top_srcdir/test/example/bug-loc.sh"

if ( pygmentize --version || pygmentize -V ) 2>/dev/null 1>/dev/null ; then
run_debugger_opts="-B -q --no-init --highlight=light"
run_debugger_opts="-B -q --no-init --no-highlight"
run_test_check $TEST_NAME $TEST_NAME $debugged_script
else
exit 77
Expand Down

0 comments on commit 51b51d2

Please sign in to comment.