diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/configuration/xml/JobPropertySubstitutionTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/configuration/xml/JobPropertySubstitutionTests.java index 31eef49af..db8e916fa 100644 --- a/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/configuration/xml/JobPropertySubstitutionTests.java +++ b/spring-batch-core/src/test/java/org/springframework/batch/core/jsr/configuration/xml/JobPropertySubstitutionTests.java @@ -137,7 +137,7 @@ public class JobPropertySubstitutionTests { public Object processItem(Object item) throws Exception { assertEquals("testParamValue", processorProperty1); assertEquals("myfile1.txt", processorProperty2); - assertEquals("/myfile2.txt", processorProperty3); + assertEquals(System.getProperty("file.separator") + "myfile2.txt", processorProperty3); return item; }