helper/schema: test for empty state

pull/690/head
Mitchell Hashimoto 12 years ago
parent 3b5c8a44ea
commit e8ac16b2df

@ -1734,6 +1734,19 @@ func TestSchemaMap_Diff(t *testing.T) {
Err: false,
},
// #45 - Empty
{
Schema: map[string]*Schema{},
State: &terraform.InstanceState{},
Config: map[string]interface{}{},
Diff: nil,
Err: false,
},
}
for i, tc := range cases {

Loading…
Cancel
Save