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

map: test the new fix

This commit is contained in:
Alexander Medvednikov 2019-07-31 09:57:19 +02:00
parent a80f32254e
commit e592485395

View File

@ -39,7 +39,7 @@ fn test_map() {
m.delete('hi')
assert m.size == 1
assert m['hi'] == 0
//assert m.keys().len == 1
assert m.keys().len == 1
////
mut users := map[string]User{}
users['1'] = User{'Peter'}