From 7d71b8cc3c123554df857700076279aeee4f9c7e Mon Sep 17 00:00:00 2001 From: clint shryock Date: Fri, 10 Jun 2016 10:07:17 -0500 Subject: [PATCH] helper and terraform interpolate test update --- helper/schema/schema_test.go | 2 +- terraform/interpolate_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helper/schema/schema_test.go b/helper/schema/schema_test.go index 9dac216f8..d9d023d6a 100644 --- a/helper/schema/schema_test.go +++ b/helper/schema/schema_test.go @@ -2169,7 +2169,7 @@ func TestSchemaMap_Diff(t *testing.T) { State: &terraform.InstanceState{ Attributes: map[string]string{ - "tags.#": "0", + "tags.%": "0", }, }, diff --git a/terraform/interpolate_test.go b/terraform/interpolate_test.go index f6de81060..7d25aacf6 100644 --- a/terraform/interpolate_test.go +++ b/terraform/interpolate_test.go @@ -469,7 +469,7 @@ func getInterpolaterFixture(t *testing.T) *Interpolater { "name_servers.3": "ns-601.awsdns-11.net", "listeners.#": "1", "listeners.0": "red", - "tags.#": "1", + "tags.%": "1", "tags.Name": "reindeer", "nothing.#": "0", }, @@ -490,7 +490,7 @@ func getInterpolaterFixture(t *testing.T) *Interpolater { "listeners.0": "blue", "special.#": "1", "special.0": "extra", - "tags.#": "1", + "tags.%": "1", "tags.Name": "white-hart", "nothing.#": "0", },