add missing action check in orphan test

pull/24539/head
James Bardin 6 years ago
parent 4e0b6d5467
commit 2c5e2d6b5b

@ -6186,5 +6186,10 @@ resource "aws_instance" "foo" {
if res.Action != want {
t.Fatalf("expected %s action, got: %q %s", want, res.Addr, res.Action)
}
delete(expected, res.Addr.String())
}
for res, action := range expected {
t.Errorf("missing %s change for %s", action, res)
}
}

Loading…
Cancel
Save