Skip to content

Commit d6e410d

Browse files
committed
Fix invalidHTTP1LookingFrameHeader call in test
`invalidHTTP1LookingFrameHeader` is a function, so it has to be called. Signed-off-by: Oleg Zaytsev <[email protected]>
1 parent 4abf41d commit d6e410d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: http2/transport_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ func TestTransportFailureErrorForHTTP1Response(t *testing.T) {
289289
},
290290
{
291291
name: "with enough frame size to start reading",
292-
maxFrameSize: invalidHTTP1LookingFrameHeader.Length + 1,
292+
maxFrameSize: invalidHTTP1LookingFrameHeader().Length + 1,
293293
},
294294
} {
295295
t.Run(tc.name, func(t *testing.T) {

0 commit comments

Comments
 (0)