From 2b10791df2b4fdf53e016e8b88ec5202fcbdd63f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 28 Dec 2015 18:30:42 +0100 Subject: [PATCH] location: Fix test --- location/location_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/location/location_test.go b/location/location_test.go index fedc66e85..405ba0144 100644 --- a/location/location_test.go +++ b/location/location_test.go @@ -46,19 +46,19 @@ var parseTests = []struct { {"s3://eu-central-1/bucketname", Location{Scheme: "s3", Config: s3.Config{ - Host: "eu-central-1", + Region: "eu-central-1", Bucket: "bucketname", }}, }, {"s3://hostname.foo/bucketname", Location{Scheme: "s3", Config: s3.Config{ - Host: "hostname.foo", + Region: "hostname.foo", Bucket: "bucketname", }}, }, - {"s3:hostname.foo:repo", Location{Scheme: "s3", + {"s3:https://hostname.foo/repo", Location{Scheme: "s3", Config: s3.Config{ - Host: "hostname.foo", + URL: "https://hostname.foo", Bucket: "repo", }}, },