schema: add test for nil string case

pull/3257/head
Fatih Arslan 11 years ago
parent 8e7fc240f9
commit f269d4fc8c

@ -97,6 +97,15 @@ func TestMapFieldWriter(t *testing.T) {
},
},
"string nil": {
[]string{"string"},
nil,
false,
map[string]string{
"string": "",
},
},
"list of resources": {
[]string{"listResource"},
[]interface{}{

Loading…
Cancel
Save