mirror of https://github.com/sbt/sbt.git
Fix test
This commit is contained in:
parent
892e25d23f
commit
9ee69e5dd4
|
|
@ -52,7 +52,7 @@ object FakeState {
|
|||
try {
|
||||
System.setOut(new PrintStream(outBuffer, true))
|
||||
val state = FakeState(enabledPlugins: _*)
|
||||
Command.process(input, state)
|
||||
Command.process(Exec(input, None), state)
|
||||
new String(outBuffer.toByteArray)
|
||||
} finally {
|
||||
System.setOut(previousOut)
|
||||
|
|
@ -106,10 +106,11 @@ object FakeState {
|
|||
Seq(BuiltinCommands.plugin),
|
||||
Set.empty,
|
||||
None,
|
||||
Seq.empty,
|
||||
List(),
|
||||
State.newHistory,
|
||||
attributes,
|
||||
GlobalLogging.initial(MainLogging.globalDefault(ConsoleOut.systemOut), File.createTempFile("sbt", ".log"), ConsoleOut.systemOut),
|
||||
None,
|
||||
State.Continue
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue