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": {
|
"set resource": {
|
||||||
[]string{"setDeep"},
|
[]string{"setDeep"},
|
||||||
[]interface{}{
|
[]interface{}{
|
||||||
|
|
Loading…
Reference in New Issue