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

cgen: fixes for ustring, makes utf8_util_test.v pass

This commit is contained in:
Delyan Angelov
2020-04-22 10:35:14 +03:00
parent b228bd267f
commit 4b8ed3f831
4 changed files with 33 additions and 7 deletions

View File

@@ -366,7 +366,7 @@ fn test_to_num() {
assert s.u64() == 7
f := '71.5 hasdf'
// QTODO
//assert f.f32() == 71.5
assert f.f32() == 71.5
vals := ['9']
assert vals[0].int() == 9
big := '93993993939322'