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

Unified Diff: utils/tests/string_encoding/utf32_test.dart

Issue 10919024: - Change "static final" to "static const" in the (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 | « utils/tests/string_encoding/utf16_test.dart ('k') | utils/tests/string_encoding/utf8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/string_encoding/utf32_test.dart
===================================================================
--- utils/tests/string_encoding/utf32_test.dart (revision 11633)
+++ utils/tests/string_encoding/utf32_test.dart (working copy)
@@ -15,13 +15,13 @@
}
class Utf32Tests extends TestClass {
- static final String testKoreanCharSubset = """
+ static const String testKoreanCharSubset = """
가각갂갃간갅갆갇갈갉갊갋갌갍갎갏감갑값갓갔강갖갗갘같갚갛
개객갞갟갠갡갢갣갤갥갦갧갨갩갪갫갬갭갮갯갰갱갲갳갴갵갶갷
갸갹갺갻갼갽갾갿걀걁걂걃걄걅걆걇걈걉걊걋걌걍걎걏걐걑걒걓""";
- static final String testHanTwice = "二";
+ static const String testHanTwice = "二";
- static final List<int> testKoreanCharSubsetUtf32beBom = const<int>[
+ static const List<int> testKoreanCharSubsetUtf32beBom = const<int>[
0x00, 0x00, 0xfe, 0xff, 0x00, 0x00, 0xac, 0x00,
0x00, 0x00, 0xac, 0x01, 0x00, 0x00, 0xac, 0x02,
0x00, 0x00, 0xac, 0x03, 0x00, 0x00, 0xac, 0x04,
@@ -67,7 +67,7 @@
0x00, 0x00, 0xac, 0x51, 0x00, 0x00, 0xac, 0x52,
0x00, 0x00, 0xac, 0x53];
- static final List<int> testKoreanCharSubsetUtf32le = const<int>[
+ static const List<int> testKoreanCharSubsetUtf32le = const<int>[
0x00, 0xac, 0x00, 0x00, 0x01, 0xac, 0x00, 0x00,
0x02, 0xac, 0x00, 0x00, 0x03, 0xac, 0x00, 0x00,
0x04, 0xac, 0x00, 0x00, 0x05, 0xac, 0x00, 0x00,
« no previous file with comments | « utils/tests/string_encoding/utf16_test.dart ('k') | utils/tests/string_encoding/utf8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698