From 286fea571f0f782ec67a66f5e5e991b753c47661 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Thu, 6 Oct 2016 16:37:28 -0400 Subject: [PATCH] Fix push test to use something that is HCL Fix the tfvars push test which was mistakingly using a single number to trigger the HCL behavior. --- command/push_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/push_test.go b/command/push_test.go index b441edced8..5a05bc471a 100644 --- a/command/push_test.go +++ b/command/push_test.go @@ -559,7 +559,7 @@ func TestPush_tfvars(t *testing.T) { "-var-file", path + "/terraform.tfvars", "-vcs=false", "-var", - "bar=1", + "bar=[1,2]", path, } if code := c.Run(args); code != 0 { @@ -586,7 +586,7 @@ func TestPush_tfvars(t *testing.T) { // update bar to match cli value for i, v := range tfvars { if v.Key == "bar" { - tfvars[i].Value = "1" + tfvars[i].Value = "[1, 2]" tfvars[i].IsHCL = true } }