mirror of
https://github.com/vlang/v.git
synced 2025-09-14 15:02:33 +03:00
tests: fix a test message index bug on VTEST_SHOW_START=1
This commit is contained in:
parent
21ba0470af
commit
9d1d35ebdc
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ pub fn (mut ts TestSession) print_messages() {
|
||||||
ts.nprint_ended <- 0
|
ts.nprint_ended <- 0
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ts.nmessage_idx++
|
if rmessage.kind != .info {
|
||||||
|
ts.nmessage_idx++
|
||||||
|
}
|
||||||
msg := rmessage.message.replace_each([
|
msg := rmessage.message.replace_each([
|
||||||
'TMP1',
|
'TMP1',
|
||||||
'${ts.nmessage_idx:1d}',
|
'${ts.nmessage_idx:1d}',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue