(t *testing.T)
| 278 | } |
| 279 | |
| 280 | func TestOpenOptionAddHTTPHeaders(t *testing.T) { |
| 281 | headers := http.Header{} |
| 282 | want := http.Header{ |
| 283 | "A": {"1"}, |
| 284 | "Range": {"bytes=1-10"}, |
| 285 | "B": {"2"}, |
| 286 | } |
| 287 | OpenOptionAddHTTPHeaders(headers, testOpenOptions) |
| 288 | assert.Equal(t, want, headers) |
| 289 | |
| 290 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…