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

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

Issue 8384012: Make some ErrorCode-s compile-time errors and some just type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for comments Created 9 years, 2 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 f8867c3193cd976810c0362ac9a57e60e8be10a7..b7b0f41a1d5155ca8e38afc2ed341f665ee05a1b 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/NegativeParserTest.java
@@ -54,7 +54,7 @@ public class NegativeParserTest extends CompilerTestCase {
DartUnit unit =
parseSourceUnitErrors(
sourceCode,
- ParserErrorCode.EXPECTED_CLASS_DECLARATION_LBRACE.getMessage(), 3, 1);
+ ParserErrorCode.EXPECTED_CLASS_DECLARATION_LBRACE.getMessage(), 2, 1);
// check structure of AST, top level Baz and Foo expected
assertEquals(2, unit.getTopLevelNodes().size());
assertEquals(

Powered by Google App Engine
This is Rietveld 408576698