mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tests: fix a test message index bug on VTEST_SHOW_START=1
This commit is contained in:
parent
21ba0470af
commit
9d1d35ebdc
@ -65,7 +65,9 @@ pub fn (mut ts TestSession) print_messages() {
|
||||
ts.nprint_ended <- 0
|
||||
return
|
||||
}
|
||||
ts.nmessage_idx++
|
||||
if rmessage.kind != .info {
|
||||
ts.nmessage_idx++
|
||||
}
|
||||
msg := rmessage.message.replace_each([
|
||||
'TMP1',
|
||||
'${ts.nmessage_idx:1d}',
|
||||
|
Loading…
Reference in New Issue
Block a user