core: Fix TestContext2Apply_targetedWithTaintedInState

Tainted objects now also remember which provider they belong to (via the
resource state they are attached to) and so the stringified state output
here is slightly different.
This commit is contained in:
Martin Atkins 2018-09-26 11:47:50 -07:00
parent b565018bf1
commit bad0f7fafd
1 changed files with 1 additions and 0 deletions

View File

@ -8827,6 +8827,7 @@ aws_instance.iambeingadded:
provider = provider.aws
aws_instance.ifailedprovisioners: (tainted)
ID = ifailedprovisioners
provider = provider.aws
`)
if actual != expected {
t.Fatalf("expected state: \n%s\ngot: \n%s", expected, actual)