Adding a test for the change in PR #681

Should have already done that together with that PR…
This commit is contained in:
Sander van Harmelen 2014-12-16 19:15:07 +01:00
parent 2ba827ee3a
commit 8347569396
1 changed files with 15 additions and 0 deletions

View File

@ -492,6 +492,21 @@ func TestInstanceDiffSame(t *testing.T) {
},
true,
},
{
&InstanceDiff{
Attributes: map[string]*ResourceAttrDiff{
"foo.#": &ResourceAttrDiff{
Old: "0",
NewComputed: true,
},
},
},
&InstanceDiff{
Attributes: map[string]*ResourceAttrDiff{},
},
true,
},
}
for i, tc := range cases {