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

tests: improve diagnostic output on failure

This commit is contained in:
Delyan Angelov
2020-05-04 11:21:25 +03:00
committed by GitHub
parent e0e064ff08
commit acd80f052b
10 changed files with 90 additions and 42 deletions

View File

@ -14,7 +14,7 @@ pub fn isnil(v voidptr) bool {
}
pub fn panic(s string) {
println('V panic: ' + s)
eprintln('V panic: ' + s)
exit(1)
}