We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01e1c90 commit ac01e35Copy full SHA for ac01e35
1 file changed
flexmark-test-util/src/main/java/com/vladsch/flexmark/test/util/spec/ResourceLocation.java
@@ -37,7 +37,7 @@ public String getFileUrl() {
37
38
@NotNull
39
public String getFileDirectoryUrl() {
40
- int pos = fileUrl.lastIndexOf(File.separatorChar);
+ int pos = fileUrl.lastIndexOf('/');
41
if (pos > 0) {
42
return fileUrl.substring(0, pos + 1);
43
}
0 commit comments