mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
all: change empty comment to newline (#22053)
This commit is contained in:
parent
38e23a76f3
commit
cb58db56ef
20 changed files with 31 additions and 33 deletions
|
@ -464,7 +464,7 @@ fn (mut cmd Command) run() {
|
|||
return
|
||||
}
|
||||
}
|
||||
//
|
||||
|
||||
mut is_failed := false
|
||||
mut is_failed_expected := false
|
||||
mut is_failed_starts_with := false
|
||||
|
@ -497,10 +497,10 @@ fn (mut cmd Command) run() {
|
|||
is_failed_contains = true
|
||||
}
|
||||
}
|
||||
//
|
||||
|
||||
run_label := if is_failed { term.failed('FAILED') } else { term_highlight('OK') }
|
||||
println('> Running: "${cmd.line}" took: ${spent} ms ... ${run_label}')
|
||||
//
|
||||
|
||||
if is_failed && is_failed_expected {
|
||||
eprintln('> expected:\n${cmd.expect}')
|
||||
eprintln('> output:\n${cmd.output}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue