Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java

Issue 9598002: Use ASTVisitor as in new AST. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
index ec0bb1ea7b0be5a4f305ae93a4860d02806af441..350f2a327ab7b9e7f434f45e7dbb51671c8a1d05 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
@@ -223,7 +223,7 @@ public class NegativeParserTest extends CompilerTestCase {
"",
"class D<X extends A, Y extends A> {",
"}");
- String actual = dartUnit.toDietSource().trim();
+ String actual = dartUnit.toSource().trim();
if (!expected.equals(actual)) {
System.err.println("Expected:\n" + expected);
System.err.println("\nActual:\n" + actual);
@@ -261,7 +261,7 @@ public class NegativeParserTest extends CompilerTestCase {
"",
"class C {",
"}"),
- dartUnit.toDietSource().trim());
+ dartUnit.toSource().trim());
}
/**
@@ -290,7 +290,7 @@ public class NegativeParserTest extends CompilerTestCase {
"",
"class C {",
"}"),
- dartUnit.toDietSource().trim());
+ dartUnit.toSource().trim());
}
/**

Powered by Google App Engine
This is Rietveld 408576698