| Index: compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java b/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
|
| index f791fe17c9d7a1c04b0f2abc293fea1dff7ce112..88d1ba0b2e5d86835e1c6ac79c00a42368ebc56e 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/ParserRoundTripTest.java
|
| @@ -7,7 +7,6 @@ package com.google.dart.compiler.parser;
|
| import com.google.dart.compiler.CompilerTestCase;
|
| import com.google.dart.compiler.ast.DartToSourceVisitor;
|
| import com.google.dart.compiler.ast.DartUnit;
|
| -import com.google.dart.compiler.util.DefaultTextOutput;
|
|
|
| /**
|
| * Tests, for each of the parser test examples, that {@link DartToSourceVisitor} produces
|
| @@ -69,10 +68,7 @@ public class ParserRoundTripTest extends CompilerTestCase {
|
| */
|
| private void roundTrip(String path) {
|
| DartUnit unit = parseUnit(path);
|
| -
|
| - DefaultTextOutput out = new DefaultTextOutput(false);
|
| - new DartToSourceVisitor(out, false).accept(unit);
|
| - String src = out.toString();
|
| + String src = unit.toSource();
|
| parseUnit(path, src);
|
| }
|
| }
|
|
|