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 e4df2e5703bb127a52ed2cf5e081c14555475780..f8867c3193cd976810c0362ac9a57e60e8be10a7 100644 |
--- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java |
@@ -5,9 +5,7 @@ |
package com.google.dart.compiler.parser; |
import com.google.dart.compiler.CompilerTestCase; |
-import com.google.dart.compiler.DartCompilerErrorCode; |
import com.google.dart.compiler.ast.DartUnit; |
-import com.google.dart.compiler.ast.DartVisitor; |
/** |
* Negative Parser/Syntax tests. |
@@ -56,7 +54,7 @@ public class NegativeParserTest extends CompilerTestCase { |
DartUnit unit = |
parseSourceUnitErrors( |
sourceCode, |
- DartCompilerErrorCode.EXPECTED_CLASS_DECLARATION_LBRACE.getMessage(), 3, 1); |
+ ParserErrorCode.EXPECTED_CLASS_DECLARATION_LBRACE.getMessage(), 3, 1); |
// check structure of AST, top level Baz and Foo expected |
assertEquals(2, unit.getTopLevelNodes().size()); |
assertEquals( |