diff --git a/terraform/template.go b/terraform/template.go index cd52f2c..27e6bae 100644 --- a/terraform/template.go +++ b/terraform/template.go @@ -101,11 +101,12 @@ type Template interface { // CommonTemplate represents template entities type CommonTemplate struct { - Title string - Message string - Result string - Body string - Link string + Title string + Message string + Result string + Body string + Link string + UseRawOutput bool } // DefaultTemplate is a default template for terraform commands diff --git a/terraform/template_test.go b/terraform/template_test.go index 7b186ba..97ce46c 100644 --- a/terraform/template_test.go +++ b/terraform/template_test.go @@ -624,7 +624,7 @@ func TestGetValue(t *testing.T) { template := testCase.template value := template.GetValue() if !reflect.DeepEqual(value, testCase.expected) { - t.Errorf("got %q but want %q", value, testCase.expected) + t.Errorf("got %#v but want %#v", value, testCase.expected) } } }