File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ public void tearDown() {
64
64
65
65
@ Test
66
66
public void shouldHandleSameInputs () throws IOException {
67
- final String USR_BIN = Paths .get (URI . create ( "file:/// usr/bin") ).toString ();
67
+ final String USR_BIN = Paths .get ("/ usr/bin" ).toString ();
68
68
String rel = PathUtils .getRelativeToCanonical (USR_BIN , USR_BIN );
69
69
Assert .assertEquals (USR_BIN + " rel to itself" , "" , rel );
70
70
}
71
71
72
72
@ Test
73
73
public void shouldHandleEffectivelySameInputs () throws IOException {
74
- final String USR_BIN = Paths .get (URI . create ( "file:/// usr/bin") ).toString ();
74
+ final String USR_BIN = Paths .get ("/ usr/bin" ).toString ();
75
75
String rel = PathUtils .getRelativeToCanonical (USR_BIN + File .separator , USR_BIN );
76
76
Assert .assertEquals (USR_BIN + " rel to ~itself" , "" , rel );
77
77
}
You can’t perform that action at this time.
0 commit comments