Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit 8dfdeaa

Browse files
Copilotdata-douser
andcommitted
Fix typo in UncontrolledAllocationSizeGood.go
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
1 parent 19e4547 commit 8dfdeaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

languages/go/custom/test/UncontrolledAllocationSize/UncontrolledAllocationSizeGood.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ func OutOfMemoryGood(w http.ResponseWriter, r *http.Request) {
2626
for i := 0; i < sink; i++ {
2727
result[i] = fmt.Sprintf("Item %d", i+1)
2828
}
29-
w.Header().Set("Content-Type\", \"application/json")
29+
w.Header().Set("Content-Type", "application/json")
3030
json.NewEncoder(w).Encode(result)
3131
}

0 commit comments

Comments
 (0)