diff --git a/helper/schema/schema_test.go b/helper/schema/schema_test.go index 8a06d2c48..70388f569 100644 --- a/helper/schema/schema_test.go +++ b/helper/schema/schema_test.go @@ -342,6 +342,31 @@ func TestSchemaMap_Diff(t *testing.T) { Err: false, }, + /* + * Bool + */ + { + Schema: map[string]*Schema{ + "delete": &Schema{ + Type: TypeBool, + Optional: true, + Default: false, + }, + }, + + State: &terraform.InstanceState{ + Attributes: map[string]string{ + "delete": "false", + }, + }, + + Config: nil, + + Diff: nil, + + Err: false, + }, + /* * List decode */