fix(tests): use correct file separator to load resources

This commit is contained in:
Skylot
2025-10-14 23:31:34 +01:00
parent 7172f8df2d
commit f2e78fe800
@@ -39,7 +39,7 @@ public class BaseRenameMappingsTest {
}
public File loadResourceFile(String fileName) {
String path = testResDir + File.separator + fileName;
String path = testResDir + '/' + fileName;
try {
URL resource = getClass().getClassLoader().getResource(path);
assertThat(resource).isNotNull();