Address go vet declaration issue in tests

This commit is contained in:
Stephen J Day 2014-12-08 09:51:59 -08:00
parent e15e07cb40
commit e364e71aab

View file

@ -91,7 +91,7 @@ func TestPush(t *testing.T) {
}
handler := testutil.NewHandler(append(blobRequestResponseMappings, testutil.RequestResponseMap{
testutil.RequestResponseMapping{
{
Request: testutil.Request{
Method: "PUT",
Route: "/v2/" + name + "/manifest/" + tag,
@ -184,7 +184,7 @@ func TestPull(t *testing.T) {
}
handler := testutil.NewHandler(append(blobRequestResponseMappings, testutil.RequestResponseMap{
testutil.RequestResponseMapping{
{
Request: testutil.Request{
Method: "GET",
Route: "/v2/" + name + "/manifest/" + tag,
@ -307,7 +307,7 @@ func TestPullResume(t *testing.T) {
for i := 0; i < 3; i++ {
layerRequestResponseMappings = append(layerRequestResponseMappings, testutil.RequestResponseMap{
testutil.RequestResponseMapping{
{
Request: testutil.Request{
Method: "GET",
Route: "/v2/" + name + "/manifest/" + tag,