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

Unified Diff: tests/isolate/message_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/isolate/mandel_isolate_test.dart ('k') | tests/isolate/multiple_timer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/isolate/message_test.dart
===================================================================
--- tests/isolate/message_test.dart (revision 11349)
+++ tests/isolate/message_test.dart (working copy)
@@ -14,17 +14,17 @@
// ---------------------------------------------------------------------------
class MessageTest {
- static final List list1 = const ["Hello", "World", "Hello", 0xfffffffffff];
- static final List list2 = const [null, list1, list1, list1, list1];
- static final List list3 = const [list2, 2.0, true, false, 0xfffffffffff];
- static final Map map1 = const {
+ static const List list1 = const ["Hello", "World", "Hello", 0xfffffffffff];
+ static const List list2 = const [null, list1, list1, list1, list1];
+ static const List list3 = const [list2, 2.0, true, false, 0xfffffffffff];
+ static const Map map1 = const {
"a=1" : 1, "b=2" : 2, "c=3" : 3,
};
- static final Map map2 = const {
+ static const Map map2 = const {
"list1" : list1, "list2" : list2, "list3" : list3,
};
- static final List list4 = const [map1, map2];
- static final List elms = const [
+ static const List list4 = const [map1, map2];
+ static const List elms = const [
list1, list2, list3, list4,
];
« no previous file with comments | « tests/isolate/mandel_isolate_test.dart ('k') | tests/isolate/multiple_timer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698