From d16bb4c338a5470a3b3bc30750fafc26cafd215c Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Thu, 20 Aug 2020 12:50:29 -0700 Subject: [PATCH] transport: use escaped string instead of int->string conversion (#3831) --- internal/transport/http_util_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/transport/http_util_test.go b/internal/transport/http_util_test.go index 80b1c094a071..a3616f7389f5 100644 --- a/internal/transport/http_util_test.go +++ b/internal/transport/http_util_test.go @@ -142,7 +142,7 @@ func (s) TestDecodeEncodeGrpcMessage(t *testing.T) { } } -const binaryValue = string(128) +const binaryValue = "\u0080" func (s) TestEncodeMetadataHeader(t *testing.T) { for _, test := range []struct {