map: test the new fix

pull/1394/head
Alexander Medvednikov 2019-07-31 09:57:19 +02:00
parent a80f32254e
commit e592485395
1 changed files with 1 additions and 1 deletions

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'}