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

Unified Diff: tests/language/src/StaticFinalFieldTest.dart

Issue 8231031: Check for compile-time constants in DartCompiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from floitsch 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: tests/language/src/StaticFinalFieldTest.dart
diff --git a/tests/language/src/StaticFinalFieldTest.dart b/tests/language/src/StaticFinalFieldTest.dart
index ecedd6ea00023c327f6b44f7a5c8ae775fa92daf..da36db36399a550b4ec6fdc7cbee3fb5b8ce5876 100644
--- a/tests/language/src/StaticFinalFieldTest.dart
+++ b/tests/language/src/StaticFinalFieldTest.dart
@@ -29,7 +29,6 @@ class A implements Switzerland {
static final architect1 = Spain.AG;
static final array1 = const <int>[1, 2];
static final map1 = const {"Monday": 1, "Tuesday": 2, };
- static final map2 = const {"$s1$s3": b};
}
class StaticFinalFieldTest {
@@ -47,7 +46,6 @@ class StaticFinalFieldTest {
Expect.equals(true, A.artist2 == "Alberto Giacometti");
Expect.equals(true, A.architect1 == "Antoni Gaudi");
Expect.equals(2, A.map1["Tuesday"]);
- Expect.equals(8, A.map2["hulahop"]);
}
}

Powered by Google App Engine
This is Rietveld 408576698