Skip to content

Commit 416f3f8

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@
8787
import java.sql.Connection;
8888
import java.sql.DriverManager;
8989
import java.util.ArrayList;
90-
import java.util.Arrays;
9190
import java.util.Collection;
9291
import java.util.List;
9392
import java.util.Set;
@@ -348,7 +347,8 @@ public static class SubPlanCommand extends AbstractCommand {
348347
relNode = RelDecorrelator.decorrelateQuery(relNode, relBuilder);
349348
}
350349

351-
x.echo(ImmutableList.of(RelOptUtil.toString(relNode)));
350+
final String s = RelOptUtil.toString(relNode);
351+
x.echo(ImmutableList.copyOf(s.split(System.lineSeparator())));
352352
}
353353
} else {
354354
x.echo(content);

0 commit comments

Comments
 (0)