Skip to content

Commit ffe7721

Browse files
committed
Fix consumer output with multiple lines test on Windows
1 parent 2ed2038 commit ffe7721

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/rife/bld/extension/ExecOperationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ void customOutputConsumerReceivesOutput() {
646646
void customOutputConsumerWithMultipleLines() {
647647
var lines = new ArrayList<String>();
648648
var op = createBasicExecOperation()
649-
.onWindows("cmd", "/c", "echo", FOO, "&", "echo", BAR)
649+
.onWindows("cmd", "/c", "echo " + FOO + "&echo " + BAR)
650650
.onUnix("sh", "-c", "echo " + FOO + "; echo " + BAR)
651651
.inheritIO(false)
652652
.outputConsumer(lines::add);

0 commit comments

Comments
 (0)