mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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:
parent
1a547b5351
commit
e850becf64
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user