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

Unified Diff: tests/language/list_literal2_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: Updated cf. comments 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
« no previous file with comments | « tests/language/library_prefixes_test2.dart ('k') | tests/language/list_literal3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/list_literal2_test.dart
diff --git a/tests/language/list_literal2_test.dart b/tests/language/list_literal2_test.dart
index d9d0d00b0785585f2139b142271900808796e4f5..5157c365a9a08e87c017421353021f7e897e6644 100644
--- a/tests/language/list_literal2_test.dart
+++ b/tests/language/list_literal2_test.dart
@@ -4,11 +4,11 @@
// Test program for array literals.
class ArrayLiteral2Test {
- static final int LAUREL = 1965;
- static final int HARDY = 1957;
+ static const int LAUREL = 1965;
+ static const int HARDY = 1957;
- static final LUCKY_DOG = const <int>[ 1919, 1921 ];
- static final MUSIC_BOX = const [ LAUREL, HARDY ];
+ static const LUCKY_DOG = const <int>[ 1919, 1921 ];
+ static const MUSIC_BOX = const [ LAUREL, HARDY ];
static testMain() {
Expect.equals(2, LUCKY_DOG.length);
« no previous file with comments | « tests/language/library_prefixes_test2.dart ('k') | tests/language/list_literal3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698