From e850becf641c131f444f3126fa3f8ea659f7a612 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Wed, 23 May 2018 10:14:32 -0700 Subject: [PATCH] core: update context plan tests for new module address rendering The diff stringer now uses the standard serialization of a module address, so we need to update the golden representations to restore their associated tests to passing. --- terraform/context_plan_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/context_plan_test.go b/terraform/context_plan_test.go index 4470e618b7..2dbe40a3fc 100644 --- a/terraform/context_plan_test.go +++ b/terraform/context_plan_test.go @@ -557,9 +557,9 @@ func TestContext2Plan_moduleOrphansWithProvisioner(t *testing.T) { expected := strings.TrimSpace(` DIFF: -module.parent.childone: +module.parent.module.childone: DESTROY: aws_instance.foo -module.parent.childtwo: +module.parent.module.childtwo: DESTROY: aws_instance.foo STATE: @@ -1823,7 +1823,7 @@ func TestContext2Plan_countModuleStaticGrandchild(t *testing.T) { expected := strings.TrimSpace(` DIFF: -module.child.child: +module.child.module.child: CREATE: aws_instance.foo.0 CREATE: aws_instance.foo.1 CREATE: aws_instance.foo.2