terraform: update test to latest

This commit is contained in:
Mitchell Hashimoto 2014-06-25 22:19:27 -07:00
parent 4147500fcc
commit 0ab7faf5c1
1 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,13 @@ func TestDiff_Empty(t *testing.T) {
if diff.Empty() {
t.Fatal("should not be empty")
}
diff.Resources["nodeA"].Attributes = nil
diff.Resources["nodeA"].Destroy = true
if diff.Empty() {
t.Fatal("should not be empty")
}
}
func TestDiff_String(t *testing.T) {