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.
This commit is contained in:
Martin Atkins 2018-05-23 10:14:32 -07:00
parent 1a547b5351
commit e850becf64

View File

@ -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