mirror of
https://github.com/vlang/v.git
synced 2025-09-14 23:12:33 +03:00
utf8: remove unused UTF8_CHAR_LEN macro and add a simple utf8 test
This commit is contained in:
parent
68228f9977
commit
e1ddac1590
3 changed files with 7 additions and 3 deletions
|
@ -3017,7 +3017,7 @@ fn (p mut Parser) assert_statement() {
|
|||
filename := p.file_path
|
||||
p.genln(';\n
|
||||
if (!$tmp) {
|
||||
puts("\\x1B[31mFAI.leD: $p.cur_fn.name() in $filename:$p.scanner.line_nr\\x1B[0m");
|
||||
puts("\\x1B[31mFAILED: $p.cur_fn.name() in $filename:$p.scanner.line_nr\\x1B[0m");
|
||||
g_test_ok = 0 ;
|
||||
// TODO
|
||||
// Maybe print all vars in a test function if it fails?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue