diff --git a/helper/schema/field_writer_map_test.go b/helper/schema/field_writer_map_test.go index 8cf8100f2..c9373da5d 100644 --- a/helper/schema/field_writer_map_test.go +++ b/helper/schema/field_writer_map_test.go @@ -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{}{