(t *testing.T)
| 34 | } |
| 35 | |
| 36 | func 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 | |
| 45 | func TestPriorityFrame(t *testing.T) { |
| 46 | pf := PriorityFrame{ |