Skip to content

Commit

Permalink
use %q instead of "%s"
Browse files Browse the repository at this point in the history
  • Loading branch information
appilon committed Mar 27, 2018
1 parent 8812cde commit 81bc63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_lb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 81bc63f

Please sign in to comment.