Skip to content

Commit fb8a164

Browse files
committed
test: describe what the With regression test asserts
1 parent 54782af commit fb8a164

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎requester_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func TestRequester_WithNoSharedBackingArray(t *testing.T) {
178178
}
179179

180180
t.Run("derived requesters keep own middlewares", func(t *testing.T) {
181-
// spare capacity in the parent chain used to let the second With overwrite the first one's middleware
181+
// with spare capacity in the parent chain, a shared backing array would let the second With overwrite the first
182182
base := New(http.Client{Timeout: time.Second}, tag("a"))
183183
base.Use(tag("b"))
184184
base.Use(tag("c"))

0 commit comments

Comments
 (0)