10 lines
132 B
V
10 lines
132 B
V
|
struct Test {
|
||
|
s string
|
||
|
}
|
||
|
|
||
|
fn test_map_value_init() {
|
||
|
m := map[string]Test{}
|
||
|
empty := m['not-here']
|
||
|
assert !isnil(empty.s.str)
|
||
|
}
|