(t *testing.T, h, expectedH string)
| 41 | } |
| 42 | |
| 43 | func testSortHeaders(t *testing.T, h, expectedH string) { |
| 44 | t.Helper() |
| 45 | s := sortHeader(h) |
| 46 | if s != expectedH { |
| 47 | t.Fatalf("unexpected result %q; expecting %q", s, expectedH) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | func TestCanCacheQuery(t *testing.T) { |
| 52 | testCanCacheQuery(t, "", false) |
no test coverage detected