mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: support non-string map.keys method (#7760)
This commit is contained in:
@ -492,6 +492,7 @@ fn test_int_keys() {
|
||||
same := mc == m
|
||||
assert same
|
||||
assert mc.len == 3
|
||||
assert mc.keys() == [3,4,5]
|
||||
mut all := []int{}
|
||||
for k, v in mc {
|
||||
assert m[k] == v
|
||||
|
Reference in New Issue
Block a user