32 lines
978 B
Diff
32 lines
978 B
Diff
From 4ef7e90db5dbfb287dd3db7bf97e53f37e70f791 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
|
|
Date: Sun, 9 Aug 2020 18:48:59 +0200
|
|
Subject: [PATCH] Convert int to string using rune()
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
See https://github.com/golang/go/issues/32479
|
|
|
|
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
|
|
---
|
|
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 80b1c094..bcf70e42 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 = string(rune(128))
|
|
|
|
func (s) TestEncodeMetadataHeader(t *testing.T) {
|
|
for _, test := range []struct {
|
|
--
|
|
2.26.2
|
|
|