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

clean up map initialization

This commit is contained in:
Alexander Medvednikov
2019-08-03 10:26:36 +02:00
parent a5f5b52204
commit e446f988f7
3 changed files with 11 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ fn test_map() {
}
fn test_map_init() {
m := { 'one': 1, 'two': 2, 'jooo': 'sdf' }
m := { 'one': 1, 'two': 2 }
assert m['one'] == 1
assert m['two'] == 2
assert m['three'] == 0