mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: handle and print socket errors
This commit is contained in:

committed by
Alexander Medvednikov

parent
4f4ac45670
commit
a5ccc4673b
@ -3855,6 +3855,7 @@ fn (p mut Parser) assert_statement() {
|
||||
if (!$tmp) {
|
||||
println(tos2((byte *)"\\x1B[31mFAILED: $p.cur_fn.name() in $filename:$p.scanner.line_nr\\x1B[0m"));
|
||||
g_test_fails++;
|
||||
return;
|
||||
// TODO
|
||||
// Maybe print all vars in a test function if it fails?
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user