[fix] Bug in Test for interactive

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2021-11-07 11:20:38 +01:00
parent 8f386b4abd
commit 72f768e6de

View File

@ -554,7 +554,6 @@ public class ParametrizedCommandTest {
final PipedConsoleInput test = new PipedConsoleInput(null); final PipedConsoleInput test = new PipedConsoleInput(null);
test.close(); test.close();
out.close(); out.close();
cmd.execute(out, test, "-" + str1, str2);
cmd.execute(out, test, "-" + addParam); cmd.execute(out, test, "-" + addParam);
fail("Closed manager shall cause error"); fail("Closed manager shall cause error");
} catch (final CommandRunException e) { } catch (final CommandRunException e) {