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

Unified Diff: tests/language/library_prefixes_test2.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_test1.dart ('k') | tests/language/list_literal2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/library_prefixes_test2.dart
diff --git a/tests/language/library_prefixes_test2.dart b/tests/language/library_prefixes_test2.dart
index 5c2d3128dae0a8b17b9c54e03971095030adc561..7e5e600bb7cfd4ccce1b59e819ece473b4520d9d 100644
--- a/tests/language/library_prefixes_test2.dart
+++ b/tests/language/library_prefixes_test2.dart
@@ -3,12 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
class Constants {
- static final PI = 3.14;
- static final foo = 2;
+ static const PI = 3.14;
+ static const foo = 2;
}
class A {
- static final y = 0;
+ static const y = 0;
int x;
A() : x = 2 {}
A.named() : x = 4 {}
« no previous file with comments | « tests/language/library_prefixes_test1.dart ('k') | tests/language/list_literal2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698