Skip to content

Commit 52ad9c5

Browse files
authored
Merge pull request #30 from ksugar/uri-port-number
Update a testUriParsing
2 parents 7cd782d + a2bfb87 commit 52ad9c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/org/janelia/saalfeldlab/n5/s3/AmazonS3UtilsTest.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ public void testUriParsing() throws URISyntaxException {
3535
for (String prefix : prefixes)
3636
for (String bucket : buckets)
3737
for (String path : paths) {
38-
URI uri = new URI(prefix + bucket + "/" + path);
38+
String uriString = prefix + bucket + "/" + path;
39+
URI uri = new URI(uriString);
3940
assertEquals("bucket from uri", bucket, AmazonS3Utils.getS3Bucket(uri));
4041
assertEquals("key from uri", path, AmazonS3Utils.getS3Key(uri));
42+
AmazonS3Utils.createS3(uriString);
4143
}
4244

4345
}

0 commit comments

Comments
 (0)