Chromium Code Reviews

Unified Diff: tests/language/interface_constants_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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tests/language/index_test.dart ('k') | tests/language/issue4515170_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/interface_constants_test.dart
diff --git a/tests/language/interface_constants_test.dart b/tests/language/interface_constants_test.dart
index 07056d0d9a8ee78570c02be02ea3a54fc9512a99..782360aec45515552a545a7a470bc2c84c842cd2 100644
--- a/tests/language/interface_constants_test.dart
+++ b/tests/language/interface_constants_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
interface Constants {
- static final int FIVE = 5;
+ static const int FIVE = 5;
}
class InterfaceConstantsTest {
« no previous file with comments | « tests/language/index_test.dart ('k') | tests/language/issue4515170_test.dart » ('j') | no next file with comments »

Powered by Google App Engine