diff --git a/src/test/java/org/janelia/saalfeldlab/n5/s3/AmazonS3UtilsTest.java b/src/test/java/org/janelia/saalfeldlab/n5/s3/AmazonS3UtilsTest.java index 136d8d5..0c20d95 100644 --- a/src/test/java/org/janelia/saalfeldlab/n5/s3/AmazonS3UtilsTest.java +++ b/src/test/java/org/janelia/saalfeldlab/n5/s3/AmazonS3UtilsTest.java @@ -35,9 +35,11 @@ public void testUriParsing() throws URISyntaxException { for (String prefix : prefixes) for (String bucket : buckets) for (String path : paths) { - URI uri = new URI(prefix + bucket + "/" + path); + String uriString = prefix + bucket + "/" + path; + URI uri = new URI(uriString); assertEquals("bucket from uri", bucket, AmazonS3Utils.getS3Bucket(uri)); assertEquals("key from uri", path, AmazonS3Utils.getS3Key(uri)); + AmazonS3Utils.createS3(uriString); } }