Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 842746c

Browse files
author
sbeimin
committed
Unit test for relative path with space
1 parent e45bd02 commit 842746c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/com/upplication/s3fs/Path/ToUriTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ public void toUriRelative() {
7070

7171
S3Path path = new S3Path(fileSystem, "bla");
7272
assertEquals(URI.create("bla"), path.toUri());
73+
74+
S3Path withSpaces = new S3Path(fileSystem, "with space");
75+
assertEquals(URI.create("with%20space"), withSpaces.toUri());
7376
}
7477

7578
@Test

0 commit comments

Comments
 (0)