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:
parent
a80f32254e
commit
e592485395
@ -39,7 +39,7 @@ fn test_map() {
|
|||||||
m.delete('hi')
|
m.delete('hi')
|
||||||
assert m.size == 1
|
assert m.size == 1
|
||||||
assert m['hi'] == 0
|
assert m['hi'] == 0
|
||||||
//assert m.keys().len == 1
|
assert m.keys().len == 1
|
||||||
////
|
////
|
||||||
mut users := map[string]User{}
|
mut users := map[string]User{}
|
||||||
users['1'] = User{'Peter'}
|
users['1'] = User{'Peter'}
|
||||||
|
Loading…
Reference in New Issue
Block a user