File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
main/java/io/reactiverse/vertx/maven/plugin/components/impl
test/java/io/reactiverse/vertx/maven/plugin/components/impl Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,7 @@ public PrompterImpl() throws IOException {
5151
5252 public PrompterImpl (InputStream in , OutputStream out ) throws IOException {
5353 Terminal terminal = TerminalBuilder .builder ()
54- .system (false )
55- .jni (false )
54+ .provider (TerminalBuilder .PROP_PROVIDER_EXEC )
5655 .streams (in , out )
5756 .build ();
5857 console = LineReaderBuilder .builder ()
Original file line number Diff line number Diff line change 11package io .reactiverse .vertx .maven .plugin .components .impl ;
22
33import org .apache .commons .io .IOUtils ;
4- import org .apache .commons .lang3 .SystemUtils ;
54import org .junit .After ;
65import org .junit .Before ;
76import org .junit .Test ;
87
98import java .io .*;
109
1110import static org .assertj .core .api .Assertions .assertThat ;
12- import static org .junit .Assume .assumeFalse ;
1311
1412/**
1513 * Tests the Prompter implementation.
@@ -25,7 +23,6 @@ public class PrompterImplTest {
2523
2624 @ Before
2725 public void setUp () throws Exception {
28- assumeFalse (SystemUtils .IS_OS_WINDOWS );
2926 input = new PipedInputStream ();
3027 pipeToInput = new PrintWriter (new PipedOutputStream (input ), true );
3128 output = new ByteArrayOutputStream ();
You can’t perform that action at this time.
0 commit comments