Skip to content

Commit

Permalink
docs(context): fix some function names in comment (#4079)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjingcun authored Oct 25, 2024
1 parent f05f966 commit ad740d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ func TestContextRenderNoContentHTMLString(t *testing.T) {
assert.Equal(t, "text/html; charset=utf-8", w.Header().Get("Content-Type"))
}

// TestContextData tests that the response can be written from `bytestring`
// TestContextRenderData tests that the response can be written from `bytestring`
// with specified MIME type
func TestContextRenderData(t *testing.T) {
w := httptest.NewRecorder()
Expand Down Expand Up @@ -1550,7 +1550,7 @@ func TestContextIsAborted(t *testing.T) {
assert.True(t, c.IsAborted())
}

// TestContextData tests that the response can be written from `bytestring`
// TestContextAbortWithStatus tests that the response can be written from `bytestring`
// with specified MIME type
func TestContextAbortWithStatus(t *testing.T) {
w := httptest.NewRecorder()
Expand Down

0 comments on commit ad740d5

Please sign in to comment.