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

Unified Diff: tests/language/named_argument_in_const_creation_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/list_literal_test.dart ('k') | tests/language/named_parameters_passing_falsy_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/named_argument_in_const_creation_test.dart
diff --git a/tests/language/named_argument_in_const_creation_test.dart b/tests/language/named_argument_in_const_creation_test.dart
index cd53423365e6ffe8adab3ce70c36fd11724f17d3..c0d079e840a186eaec7464c7421471b6af824ec1 100644
--- a/tests/language/named_argument_in_const_creation_test.dart
+++ b/tests/language/named_argument_in_const_creation_test.dart
@@ -6,7 +6,7 @@ class A {
final x;
final y;
const A(a, [b]) : x = a, y = b;
- static final test = const A(1, b: 2);
+ static const test = const A(1, b: 2);
}
main() {
« no previous file with comments | « tests/language/list_literal_test.dart ('k') | tests/language/named_parameters_passing_falsy_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698