mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
149 B
V
7 lines
149 B
V
fn test_high_order_map_assign() {
|
|
mut m := map[string]map[string]int{}
|
|
m['hello']['hi'] = 1
|
|
println(m)
|
|
assert '${m}' == "{'hello': {'hi': 1}}"
|
|
}
|