From 2ec95f1abc46b5f9ddadce9ed806b7225ae583f3 Mon Sep 17 00:00:00 2001 From: Pam Selle <204372+pselle@users.noreply.github.com> Date: Tue, 29 Sep 2020 14:02:43 -0400 Subject: [PATCH] Make an after val unknown to exercise the known check --- command/format/diff_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/format/diff_test.go b/command/format/diff_test.go index 12891bc0e..09b66c373 100644 --- a/command/format/diff_test.go +++ b/command/format/diff_test.go @@ -4025,7 +4025,7 @@ func TestResourceChange_sensitiveVariable(t *testing.T) { }), "nested_block_map": cty.MapVal(map[string]cty.Value{ "foo": cty.ObjectVal(map[string]cty.Value{ - "an_attr": cty.StringVal("changed"), + "an_attr": cty.UnknownVal(cty.String), }), }), }),