1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: support -stats for _test.v files

This commit is contained in:
Delyan Angelov
2020-03-30 18:21:32 +03:00
committed by GitHub
parent 3440d7edd8
commit 07de351546
5 changed files with 55 additions and 37 deletions

View File

@@ -197,7 +197,7 @@ pub fn (b &Benchmark) total_duration() i64 {
fn (b &Benchmark) tdiff_in_ms(s string, sticks i64, eticks i64) string {
if b.verbose {
tdiff := (eticks - sticks)
return '${tdiff:6lld} ms $s'
return '${tdiff:6d} ms $s'
}
return s
}