diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index b7681e62e..aae34eb29 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -6494,11 +6494,7 @@ func TestContext2Apply_destroyModuleWithAttrsReferencingResource(t *testing.T) { //Test that things were destroyed actual := strings.TrimSpace(state.String()) - expected := strings.TrimSpace(` - -module.child: - - `) + expected := strings.TrimSpace(``) if actual != expected { t.Fatalf("expected:\n\n%s\n\nactual:\n\n%s", expected, actual) }