Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Apr 29, 2021
1 parent e406219 commit 73bed3a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ public void testToTorrentUrl() {
public void testToTorrentUrlThirdparty() {
final S3Session session = new S3Session(new Host(new S3Protocol(), "test-us-east-1-cyberduck",
new Credentials("anonymous", null)));
assertEquals(new DescriptiveUrl(URI.create("http://test-us-east-1-cyberduck/c/test%20f?torrent"), DescriptiveUrl.Type.torrent),
assertEquals(DescriptiveUrl.EMPTY,
new S3UrlProvider(session).toUrl(new Path("/c/test f", EnumSet.of(Path.Type.file))).find(DescriptiveUrl.Type.torrent));
}

Expand Down

0 comments on commit 73bed3a

Please sign in to comment.