From 8548828873235d3bf342e71791161c418240144d Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Tue, 7 Jun 2022 18:23:41 +0100 Subject: [PATCH] Polish contribution --- .../jline/InteractiveShellRunnerTests.java | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/spring-shell-core/src/test/java/org/springframework/shell/jline/InteractiveShellRunnerTests.java b/spring-shell-core/src/test/java/org/springframework/shell/jline/InteractiveShellRunnerTests.java index 59d3963b..17c517e7 100644 --- a/spring-shell-core/src/test/java/org/springframework/shell/jline/InteractiveShellRunnerTests.java +++ b/spring-shell-core/src/test/java/org/springframework/shell/jline/InteractiveShellRunnerTests.java @@ -1,5 +1,11 @@ package org.springframework.shell.jline; +import java.io.ByteArrayOutputStream; +import java.io.PipedInputStream; +import java.io.PipedOutputStream; +import java.nio.charset.StandardCharsets; +import java.util.concurrent.CountDownLatch; + import org.jline.reader.LineReader; import org.jline.reader.LineReaderBuilder; import org.jline.terminal.Attributes; @@ -7,15 +13,12 @@ import org.jline.terminal.impl.ExternalTerminal; import org.jline.utils.AttributedString; import org.jline.utils.AttributedStyle; import org.junit.jupiter.api.Test; + import org.springframework.shell.ExitRequest; -import static org.assertj.core.api.Assertions.*; - -import java.io.ByteArrayOutputStream; -import java.io.PipedInputStream; -import java.io.PipedOutputStream; -import java.nio.charset.StandardCharsets; -import java.util.concurrent.CountDownLatch; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatNoException; +import static org.assertj.core.api.Assertions.assertThatThrownBy; public class InteractiveShellRunnerTests {