Skip to content

Commit 16588d2

Browse files
committed
Fix line endings on Windows (2nd attempt)
1 parent 05be8b1 commit 16588d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testkit/src/main/java/org/apache/calcite/test/QuidemTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,8 @@ public static class SubPlanCommand extends AbstractCommand {
348348
relNode = RelDecorrelator.decorrelateQuery(relNode, relBuilder);
349349
}
350350

351-
x.echo(ImmutableList.of(RelOptUtil.toString(relNode)));
351+
final String s = RelOptUtil.toString(relNode);
352+
x.echo(ImmutableList.copyOf(s.split(System.lineSeparator())));
352353
}
353354
} else {
354355
x.echo(content);

0 commit comments

Comments
 (0)