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:
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user