Skip to content

Commit 23cfa93

Browse files
committed
fix receiver
1 parent 671cd2e commit 23cfa93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testdata/src/a/a.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@ func main() {
132132

133133
req121, _ := http.NewRequest(http.MethodPost, url, nil) // OK
134134
req121.AddCookie(&http.Cookie{Name: "k", Value: "v"})
135-
req121 = req121.WithContext(context.WithValue(req.Context(), struct{}{}, 0))
135+
req121 = req121.WithContext(context.WithValue(req121.Context(), struct{}{}, 0))
136136
cli.Do(req121)
137137
}

0 commit comments

Comments
 (0)