helper/schema: add test for GH-814
This commit is contained in:
parent
b6e591e03f
commit
e32cd396ad
|
@ -140,6 +140,15 @@ func TestMapFieldWriter(t *testing.T) {
|
|||
},
|
||||
},
|
||||
|
||||
"set nil": {
|
||||
[]string{"set"},
|
||||
nil,
|
||||
false,
|
||||
map[string]string{
|
||||
"set.#": "0",
|
||||
},
|
||||
},
|
||||
|
||||
"set resource": {
|
||||
[]string{"setDeep"},
|
||||
[]interface{}{
|
||||
|
|
Loading…
Reference in New Issue