Skip to content

Commit 8548828

Browse files
committed
Polish contribution
1 parent 38ce784 commit 8548828

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

spring-shell-core/src/test/java/org/springframework/shell/jline/InteractiveShellRunnerTests.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
package org.springframework.shell.jline;
22

3+
import java.io.ByteArrayOutputStream;
4+
import java.io.PipedInputStream;
5+
import java.io.PipedOutputStream;
6+
import java.nio.charset.StandardCharsets;
7+
import java.util.concurrent.CountDownLatch;
8+
39
import org.jline.reader.LineReader;
410
import org.jline.reader.LineReaderBuilder;
511
import org.jline.terminal.Attributes;
612
import org.jline.terminal.impl.ExternalTerminal;
713
import org.jline.utils.AttributedString;
814
import org.jline.utils.AttributedStyle;
915
import org.junit.jupiter.api.Test;
10-
import org.springframework.shell.ExitRequest;
1116

12-
import static org.assertj.core.api.Assertions.*;
17+
import org.springframework.shell.ExitRequest;
1318

14-
import java.io.ByteArrayOutputStream;
15-
import java.io.PipedInputStream;
16-
import java.io.PipedOutputStream;
17-
import java.nio.charset.StandardCharsets;
18-
import java.util.concurrent.CountDownLatch;
19+
import static org.assertj.core.api.Assertions.assertThat;
20+
import static org.assertj.core.api.Assertions.assertThatNoException;
21+
import static org.assertj.core.api.Assertions.assertThatThrownBy;
1922

2023
public class InteractiveShellRunnerTests {
2124

0 commit comments

Comments
 (0)