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

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

Issue 11428131: More co19 triage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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/resolver/ResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
index fa7c79507ad735d6cc91024d1e91cff5723b0953..dc76e65986db1884688de87e9792e567ea70f366 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -267,16 +267,6 @@ public class ResolverTest extends ResolverTestCase {
);
}
- public void testBadFactory() {
- // Another interface should be in scope to name 'foo' as a constructor
- resolveAndTest(Joiner.on("\n").join(
- "class Object {}",
- "class Zebra {",
- " factory foo() {}",
- "}"),
- ResolverErrorCode.NO_SUCH_TYPE_CONSTRUCTOR);
- }
-
public void test_constFactory() throws Exception {
resolveAndTest(Joiner.on("\n").join(
"class Object {}",
@@ -581,7 +571,7 @@ public class ResolverTest extends ResolverTestCase {
" }",
" }",
"}"),
- ResolverErrorCode.NO_SUCH_TYPE);
+ TypeErrorCode.NO_SUCH_TYPE);
}
public void test_const_array() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698