mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
14 lines
151 B
V
14 lines
151 B
V
type Fields = map[string]string
|
|
|
|
fn test_alias_map_clone() {
|
|
f := Fields({
|
|
's': 'a'
|
|
})
|
|
|
|
s := f.clone()
|
|
println(s)
|
|
assert s == {
|
|
's': 'a'
|
|
}
|
|
}
|