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

Unified Diff: tests/lib/crypto/sha1_short_test_vectors.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/lib/crypto/sha1_long_test_vectors.dart ('k') | tests/lib/crypto/sha256_long_test_vectors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/crypto/sha1_short_test_vectors.dart
===================================================================
--- tests/lib/crypto/sha1_short_test_vectors.dart (revision 11349)
+++ tests/lib/crypto/sha1_short_test_vectors.dart (working copy)
@@ -5,7 +5,7 @@
// Standard test vectors from:
// http://csrc.nist.gov/groups/STM/cavp/documents/shs/shabytetestvectors.zip
-final sha1_short_inputs = const [
+const sha1_short_inputs = const [
const [ ],
const [ 0x36 ],
const [ 0x19, 0x5a ],
@@ -73,7 +73,7 @@
const [ 0x45, 0x92, 0x7e, 0x32, 0xdd, 0xf8, 0x01, 0xca, 0xf3, 0x5e, 0x18, 0xe7, 0xb5, 0x07, 0x8b, 0x7f, 0x54, 0x35, 0x27, 0x82, 0x12, 0xec, 0x6b, 0xb9, 0x9d, 0xf8, 0x84, 0xf4, 0x9b, 0x32, 0x7c, 0x64, 0x86, 0xfe, 0xae, 0x46, 0xba, 0x18, 0x7d, 0xc1, 0xcc, 0x91, 0x45, 0x12, 0x1e, 0x14, 0x92, 0xe6, 0xb0, 0x6e, 0x90, 0x07, 0x39, 0x4d, 0xc3, 0x3b, 0x77, 0x48, 0xf8, 0x6a, 0xc3, 0x20, 0x7c, 0xfe ],
];
-final sha1_short_mds = const [
+const sha1_short_mds = const [
'da39a3ee5e6b4b0d3255bfef95601890afd80709',
'c1dfd96eea8cc2b62785275bca38ac261256e278',
'0a1c2d555bbe431ad6288af5a54f93e0449c9232',
« no previous file with comments | « tests/lib/crypto/sha1_long_test_vectors.dart ('k') | tests/lib/crypto/sha256_long_test_vectors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698