diff --git a/spring-batch-execution/src/test/java/org/springframework/batch/execution/step/simple/SimpleStepExecutorFactoryTests.java b/spring-batch-execution/src/test/java/org/springframework/batch/execution/step/simple/SimpleStepExecutorFactoryTests.java index dbaf51a6f..3d62b7b75 100644 --- a/spring-batch-execution/src/test/java/org/springframework/batch/execution/step/simple/SimpleStepExecutorFactoryTests.java +++ b/spring-batch-execution/src/test/java/org/springframework/batch/execution/step/simple/SimpleStepExecutorFactoryTests.java @@ -144,9 +144,9 @@ public class SimpleStepExecutorFactoryTests extends TestCase { } catch (IllegalStateException e) { // expected assertTrue( - "Error message does not contain SimpleStepConfiguration: " + "Error message does not contain SimpleStep: " + e.getMessage(), e.getMessage().indexOf( - "SimpleStepConfiguration") >= 0); + "SimpleStep") >= 0); } }