terraform: update test to latest
This commit is contained in:
parent
4147500fcc
commit
0ab7faf5c1
|
@ -31,6 +31,13 @@ func TestDiff_Empty(t *testing.T) {
|
||||||
if diff.Empty() {
|
if diff.Empty() {
|
||||||
t.Fatal("should not be 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) {
|
func TestDiff_String(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue