MCPcopy Create free account
hub / github.com/imroc/req / TestSettingString

Function TestSettingString

http2/http2_test.go:36–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestSettingString(t *testing.T) {
37 s := Setting{ID: SettingHeaderTableSize, Val: 4096}
38 got := s.String()
39 expected := "[HEADER_TABLE_SIZE = 4096]"
40 if got != expected {
41 t.Errorf("Setting.String() = %q, want %q", got, expected)
42 }
43}
44
45func TestPriorityFrame(t *testing.T) {
46 pf := PriorityFrame{

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…