Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Jan 5, 2024
1 parent 662b825 commit 94bc069
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pmtiles/bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ func TestNormalizeHttp(t *testing.T) {
assert.Equal(t, "http://example.com/foo", bucket)
}

func TestNormalizeAwsSdkVersion(t *testing.T) {
bucket, key, _ := NormalizeBucketKey("s3://mybucket?awssdk=v1&endpoint=https://foo.bar", "", "abc")
assert.Equal(t, "abc", key)
assert.Equal(t, "s3://mybucket?awssdk=v2&endpoint=https%3A%2F%2Ffoo.bar", bucket)
}

func TestNormalizePathPrefixServer(t *testing.T) {
bucket, key, _ := NormalizeBucketKey("", "../foo", "")
assert.Equal(t, "", key)
Expand Down

0 comments on commit 94bc069

Please sign in to comment.