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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java

Issue 9295016: Issue 1353. Remove invocation of named function literal from outside of literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
« no previous file with comments | « no previous file | compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
index 82993a7f864d7967b2463c5bb0f6391f83a25760..69f92cc46801ba062a895e2678bf9b4a34ba6576 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
@@ -19,7 +19,6 @@ import java.util.List;
// TODO(ngeoffray): Move these tests to the VM tests once we can run VM tests.
public class NegativeResolverTest extends CompilerTestCase {
List<DartCompilationError> errors = new ArrayList<DartCompilationError>();
- List<DartCompilationError> typeErrors = new ArrayList<DartCompilationError>();
/**
* Parses given Dart source, runs {@link Resolver} and checks that expected errors were generated.
@@ -42,7 +41,6 @@ public class NegativeResolverTest extends CompilerTestCase {
public void checkNumErrors(String fileName, int expectedErrorCount) {
DartUnit unit = parseUnit(fileName);
resolve(unit);
- assertEquals(new ArrayList<DartCompilationError>(), typeErrors);
if (errors.size() != expectedErrorCount) {
fail(String.format(
"Expected %s errors, but got %s: %s",
« no previous file with comments | « no previous file | compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698