MCPcopy Index your code
hub / github.com/imroc/req / TestFrameHeaderString

Function TestFrameHeaderString

internal/http2/frame_test.go:47–58  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

45}
46
47func TestFrameHeaderString(t *testing.T) {
48 fh := FrameHeader{
49 Type: FrameData,
50 Flags: FlagDataEndStream,
51 Length: 100,
52 StreamID: 1,
53 }
54 s := fh.String()
55 if s == "" {
56 t.Fatal("FrameHeader.String() should not be empty")
57 }
58}
59
60func TestFramerWriteReadData(t *testing.T) {
61 var buf bytes.Buffer

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…