Skip to content

Commit d465c1d

Browse files
committed
test: optimize codes
Signed-off-by: sjiwon <[email protected]>
1 parent 1b3098a commit d465c1d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-batch-core/src/test/java/org/springframework/batch/core/ExitStatusTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
/**
3434
* @author Dave Syer
3535
* @author Mahmoud Ben Hassine
36+
* @author JiWon Seo
3637
*
3738
*/
3839
class ExitStatusTests {
39-
4040
@Test
4141
void testExitStatusNullDescription() {
4242
ExitStatus status = new ExitStatus("10", null);
@@ -153,7 +153,7 @@ void testAddExitDescription() {
153153
}
154154

155155
@Test
156-
void testAddExitDescriptionWIthStacktrace() {
156+
void testAddExitDescriptionWithStacktrace() {
157157
ExitStatus status = ExitStatus.EXECUTING.addExitDescription(new RuntimeException("Foo"));
158158
assertNotSame(ExitStatus.EXECUTING, status);
159159
String description = status.getExitDescription();
@@ -217,5 +217,4 @@ private static Stream<Arguments> provideCustomExitStatuses() {
217217
return Stream.of(Arguments.of(new ExitStatus("CUSTOM")), Arguments.of(new ExitStatus("SUCCESS")),
218218
Arguments.of(new ExitStatus("DONE")));
219219
}
220-
221220
}

0 commit comments

Comments
 (0)