1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/v/tests/alias_map_clone_test.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'
}
}