From 9dd29f71901446ad5460e80b5578f79af6c786d3 Mon Sep 17 00:00:00 2001 From: Daniel Banck Date: Fri, 27 Oct 2023 14:07:14 +0200 Subject: [PATCH] Update test cases --- decoder/reference_targets_collect_hcl_test.go | 4 ++-- decoder/reference_targets_collect_json_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/decoder/reference_targets_collect_hcl_test.go b/decoder/reference_targets_collect_hcl_test.go index b2613c74..46127550 100644 --- a/decoder/reference_targets_collect_hcl_test.go +++ b/decoder/reference_targets_collect_hcl_test.go @@ -3909,7 +3909,7 @@ provider "test" { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.Tuple([]cty.Type{cty.String}), + Type: cty.DynamicPseudoType, RangePtr: &hcl.Range{ Filename: "test.tf", Start: hcl.Pos{ @@ -3984,7 +3984,7 @@ provider "test" { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.List(cty.String), + Type: cty.List(cty.DynamicPseudoType), RangePtr: &hcl.Range{ Filename: "test.tf", Start: hcl.Pos{ diff --git a/decoder/reference_targets_collect_json_test.go b/decoder/reference_targets_collect_json_test.go index a23c7ddc..5fd2ecf7 100644 --- a/decoder/reference_targets_collect_json_test.go +++ b/decoder/reference_targets_collect_json_test.go @@ -3816,7 +3816,7 @@ func TestCollectReferenceTargets_json(t *testing.T) { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.Tuple([]cty.Type{cty.String}), + Type: cty.DynamicPseudoType, RangePtr: &hcl.Range{ Filename: "test.tf.json", Start: hcl.Pos{ @@ -3893,7 +3893,7 @@ func TestCollectReferenceTargets_json(t *testing.T) { Addr: lang.Address{ lang.RootStep{Name: "test"}, }, - Type: cty.List(cty.String), + Type: cty.List(cty.DynamicPseudoType), RangePtr: &hcl.Range{ Filename: "test.tf.json", Start: hcl.Pos{