Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public PrompterImpl() throws IOException {

public PrompterImpl(InputStream in, OutputStream out) throws IOException {
Terminal terminal = TerminalBuilder.builder()
.system(false)
.jni(false)
.provider(TerminalBuilder.PROP_PROVIDER_EXEC)
.streams(in, out)
.build();
console = LineReaderBuilder.builder()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package io.reactiverse.vertx.maven.plugin.components.impl;

import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.SystemUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import java.io.*;

import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assume.assumeFalse;

/**
* Tests the Prompter implementation.
Expand All @@ -25,7 +23,6 @@ public class PrompterImplTest {

@Before
public void setUp() throws Exception {
assumeFalse(SystemUtils.IS_OS_WINDOWS);
input = new PipedInputStream();
pipeToInput = new PrintWriter(new PipedOutputStream(input), true);
output = new ByteArrayOutputStream();
Expand Down
Loading