update GraphBuilder_targetModule test
The updates CLoseProviderTransformer connects all provider instances, which is technically the correct behavior.
This commit is contained in:
parent
a14fd0344c
commit
8388dfd2f9
|
@ -84,7 +84,7 @@ func TestApplyGraphBuilder(t *testing.T) {
|
||||||
actual := strings.TrimSpace(g.String())
|
actual := strings.TrimSpace(g.String())
|
||||||
expected := strings.TrimSpace(testApplyGraphBuilderStr)
|
expected := strings.TrimSpace(testApplyGraphBuilderStr)
|
||||||
if actual != expected {
|
if actual != expected {
|
||||||
t.Fatalf("bad: %s", actual)
|
t.Fatalf("expected:\n%s\n\ngot:\n%s", expected, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -515,6 +515,7 @@ provider.aws (close)
|
||||||
aws_instance.other
|
aws_instance.other
|
||||||
module.child.aws_instance.create
|
module.child.aws_instance.create
|
||||||
module.child.aws_instance.other
|
module.child.aws_instance.other
|
||||||
|
module.child.provider.aws
|
||||||
provider.aws
|
provider.aws
|
||||||
provisioner.exec (close)
|
provisioner.exec (close)
|
||||||
module.child.aws_instance.create
|
module.child.aws_instance.create
|
||||||
|
|
Loading…
Reference in New Issue