From 5d3f64258551ca36f12c673034ac2443f67ddc1f Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Wed, 12 Sep 2018 16:34:22 -0700 Subject: [PATCH] core: Fix TestContext2Apply_destroyNestedModule Our string representation of state for testing now returns "" when empty, rather than the empty string. --- terraform/context_apply_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/context_apply_test.go b/terraform/context_apply_test.go index 3308d966b..dc0cc646f 100644 --- a/terraform/context_apply_test.go +++ b/terraform/context_apply_test.go @@ -6221,7 +6221,7 @@ func TestContext2Apply_destroyNestedModule(t *testing.T) { // Test that things were destroyed actual := strings.TrimSpace(state.String()) - if actual != "" { + if actual != "" { t.Fatalf("expected no state, got: %s", actual) } }