Fix escaped go vet error

Find one escaped go vet error:

```
$ cd pkg/httputils/
$ go vet .
httputils_test.go:28: arg response for printf verb %q of wrong type:
*net/http.Response
```

You can also find it with

```
$ go vet github.com/docker/docker/pkg/httputils/
```

or

```
$ go vet ./...
```

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2017-01-18 00:10:40 +08:00
parent e74623d283
commit 3551893f46
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func TestDownload(t *testing.T) {
response.Body.Close()
if err != nil || string(actual) != expected {
t.Fatalf("Expected the response %q, got err:%q, response:%q, actual:%q", expected, err, response, string(actual))
t.Fatalf("Expected the response %q, got err:%q, actual:%q", expected, err, string(actual))
}
}