Skip to content

Commit

Permalink
Fix test due to line of call Trace.Debug call being greater than 99
Browse files Browse the repository at this point in the history
When the line has three digits, the space is not present.

Example:

[Alr.Commands.Dev.Execute] (alr-commands-dev.adb:32 ) debug: In dev --filter

versus

[Alr.Commands.Dev.Execute] (alr-commands-dev.adb:100) debug: In dev --filter
  • Loading branch information
mgrojo committed Oct 15, 2023
1 parent 2fc647c commit dd60348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/debug/logging-scopes/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
p = run_alr('-vv', '-d+dev', 'dev', '--filter', quiet=False)
assert_match('Filtering mode: WHITELIST\n'
'Filtering substring: dev\n'
'\[Alr.Commands.Dev.Execute\] \(alr-commands-dev.adb:[0-9]* \)'
'\[Alr.Commands.Dev.Execute\] \(alr-commands-dev.adb:[0-9]* *\)'
' -->> In dev --filter',
p.out.strip())

Expand Down

0 comments on commit dd60348

Please sign in to comment.