| Index: editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/AbstractSemanticTest.java
|
| diff --git a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/AbstractSemanticTest.java b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/AbstractSemanticTest.java
|
| index 25e577846ea9d50e73981f9fcaa9064d78b177d3..b5fa203fecaa7802cff317535b34bc402016e8c8 100644
|
| --- a/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/AbstractSemanticTest.java
|
| +++ b/editor/util/plugins/com.google.dart.java2dart_test/src/com/google/dart/java2dart/AbstractSemanticTest.java
|
| @@ -32,14 +32,14 @@ import java.io.File;
|
| * Test for general Java semantics to Dart translation.
|
| */
|
| public class AbstractSemanticTest extends TestCase {
|
| -
|
| /**
|
| * @return the formatted Dart source dump of the given {@link ASTNode}.
|
| */
|
| protected static String getFormattedSource(ASTNode node) {
|
| PrintStringWriter writer = new PrintStringWriter();
|
| node.accept(new ToFormattedSourceVisitor(writer));
|
| - return writer.toString();
|
| + String result = writer.toString();
|
| + return StringUtils.join(StringUtils.split(result, '\n'), "\n");
|
| }
|
|
|
| protected static void printFormattedSource(ASTNode node) {
|
|
|