diff --git a/helper/schema/schema_test.go b/helper/schema/schema_test.go index bb32374f3..a0fc18c2b 100644 --- a/helper/schema/schema_test.go +++ b/helper/schema/schema_test.go @@ -2009,6 +2009,29 @@ func TestSchemaMap_Diff(t *testing.T) { Err: false, }, + + // #50 + { + Schema: map[string]*Schema{ + "active": &Schema{ + Type: TypeBool, + Computed: true, + ForceNew: true, + }, + }, + + State: &terraform.InstanceState{ + Attributes: map[string]string{ + "active": "true", + }, + }, + + Config: map[string]interface{}{}, + + Diff: nil, + + Err: false, + }, } for i, tc := range cases {