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

Unified Diff: tests/language/list_literal_test.dart

Issue 10837359: Language tests updated to use const instead of final. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Instance fields are never const. Created 8 years, 4 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/list_literal_test.dart
diff --git a/tests/language/list_literal_test.dart b/tests/language/list_literal_test.dart
index 0d1261f8791282a2746a4c56ef2cfbc31c2b7abb..7b8597127851f96580accc30a77153b7280aa716 100644
--- a/tests/language/list_literal_test.dart
+++ b/tests/language/list_literal_test.dart
@@ -5,8 +5,8 @@
class ListLiteralTest {
- static final LAUREL = 1;
- static final HARDY = 2;
+ static const LAUREL = 1;
+ static const HARDY = 2;
static testMain() {

Powered by Google App Engine
This is Rietveld 408576698