From 81bc63f8a82b652f377761f3ad32d105633621aa Mon Sep 17 00:00:00 2001 From: Alex Pilon Date: Tue, 27 Mar 2018 11:05:34 -0400 Subject: [PATCH] use %q instead of "%s" --- aws/resource_aws_lb_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/resource_aws_lb_test.go b/aws/resource_aws_lb_test.go index 2cc308173f97..c5b91b524062 100644 --- a/aws/resource_aws_lb_test.go +++ b/aws/resource_aws_lb_test.go @@ -679,7 +679,7 @@ func testAccCheckAWSLBAttribute(n, key, value string) resource.TestCheckFunc { if *attr.Value == value { return nil } else { - return fmt.Errorf(`LB attribute %s expected: "%s" actual: "%s"`, key, value, *attr.Value) + return fmt.Errorf("LB attribute %s expected: %q actual: %q", key, value, *attr.Value) } } }