Skip to content
Myr

docs(context): fix wrong function name in comment (#4382)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by goldlinker · committed by GitHub · parent 8ca9754 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: goldlinker <goldlinker@outlook.jp>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:context_test.go+1 added-1 removed
1231 unmodified lines
1232 assert.Empty(t, w.Body.String())1233 assert.Equal(t, "text/html; charset=utf-8", w.Header().Get("Content-Type"))1234}12351236// TestContextXML tests that the response is serialized as XML1236// TestContextRenderXML tests that the response is serialized as XML1237// and Content-Type is set to application/xml1238func TestContextRenderXML(t *testing.T) {1239 w := httptest.NewRecorder()1240 c, _ := CreateTestContext(w)
2400 unmodified lines