diff options
Diffstat (limited to 'src/integrationtest')
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/StressMap.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/StressMap.java b/src/integrationtest/org/apache/poi/stress/StressMap.java index 73d39b8530..f69fbfbf4f 100644 --- a/src/integrationtest/org/apache/poi/stress/StressMap.java +++ b/src/integrationtest/org/apache/poi/stress/StressMap.java @@ -64,7 +64,10 @@ public class StressMap { } public ExcInfo getExcInfo(String file, String testName, FileHandlerKnown handler) { - return exMap.get(file).stream() + // ... failures/handlers lookup doesn't work on windows otherwise + final String uniFile = file.replace('\\', '/'); + + return exMap.get(uniFile).stream() .filter(e -> e.isMatch(testName, handler.name())) .findFirst().orElse(null); } |