From bbdceff27e06ea464ad686b3a72c75a3a4bc0cfe Mon Sep 17 00:00:00 2001 From: salamer Date: Sun, 12 Aug 2018 15:50:23 +0800 Subject: [PATCH] add RenderProtoBuf test --- context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_test.go b/context_test.go index a8cb4d10..d155defe 100644 --- a/context_test.go +++ b/context_test.go @@ -956,7 +956,7 @@ func TestContextRenderYAML(t *testing.T) { assert.Equal(t, "application/x-yaml; charset=utf-8", w.HeaderMap.Get("Content-Type")) } -// TestContextRenderProtoBuf tests that the response is serialized as YAML +// TestContextRenderProtoBuf tests that the response is serialized as ProtoBuf // and Content-Type is set to application/x-protobuf // and we just use the example protobuf to check if the response is correct func TestContextRenderProtoBuf(t *testing.T) {