Skip to content

Commit

Permalink
Adding a test for the change in PR #681
Browse files Browse the repository at this point in the history
Should have already done that together with that PR…
  • Loading branch information
Sander van Harmelen committed Dec 16, 2014
1 parent 2ba827e commit 8347569
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions terraform/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8347569

Please sign in to comment.