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

Unified Diff: tests/language/compile_time_constant_e_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. 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/compile_time_constant_d_test.dart ('k') | tests/language/compile_time_constant_f_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/compile_time_constant_e_test.dart
diff --git a/tests/language/compile_time_constant_e_test.dart b/tests/language/compile_time_constant_e_test.dart
index 23af789a8eb1949d9cc8073a94de77d811a6ea63..f4850745660412c2ebc5b0a39631ed6942b5919e 100644
--- a/tests/language/compile_time_constant_e_test.dart
+++ b/tests/language/compile_time_constant_e_test.dart
@@ -15,16 +15,16 @@ class A {
toString() => "A $x $y $z $t";
}
-final a1 = const A(99, 100);
-final a2 = const A.named(99, 100);
-final a3 = const A.named2(1, 2, 3, 4);
-final a4 = const A();
-final a5 = const A(tt: 100, z: 99);
-final a6 = const A(1, tt: 2);
-final a7 = const A.named(z: 7);
-final a8 = const A.named2();
-final a9 = const A.named2(x: 4, y: 3, z: 2, t: 1);
-final a10 = const A.named2(x: 1, y: 2, z: 3, t: 4);
+const a1 = const A(99, 100);
+const a2 = const A.named(99, 100);
+const a3 = const A.named2(1, 2, 3, 4);
+const a4 = const A();
+const a5 = const A(tt: 100, z: 99);
+const a6 = const A(1, tt: 2);
+const a7 = const A.named(z: 7);
+const a8 = const A.named2();
+const a9 = const A.named2(x: 4, y: 3, z: 2, t: 1);
+const a10 = const A.named2(x: 1, y: 2, z: 3, t: 4);
main() {
Expect.equals(3, a1.x);
« no previous file with comments | « tests/language/compile_time_constant_d_test.dart ('k') | tests/language/compile_time_constant_f_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698