diff --git a/flatmap/expand_test.go b/flatmap/expand_test.go index b480e2ca9..b5da3197b 100644 --- a/flatmap/expand_test.go +++ b/flatmap/expand_test.go @@ -106,6 +106,17 @@ func TestExpand(t *testing.T) { "list2": []interface{}{"c"}, }, }, + + { + Map: map[string]string{ + "set.#": "3", + "set.1234": "a", + "set.1235": "b", + "set.1236": "c", + }, + Key: "set", + Output: []interface{}{"a", "b", "c"}, + }, } for _, tc := range cases {