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

Unified Diff: tests/language/string_interpolation8_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
Index: tests/language/string_interpolation8_test.dart
diff --git a/tests/language/string_interpolation8_test.dart b/tests/language/string_interpolation8_test.dart
index f4633151fbdea62c738f3b1158778d4d3d01c993..8999dafa8354f15b729bd19bc16dac32c0bd4ba8 100644
--- a/tests/language/string_interpolation8_test.dart
+++ b/tests/language/string_interpolation8_test.dart
@@ -2,11 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
-// Allow assignment of string interpolation to a static final field
+// Allow assignment of string interpolation to a static const field
class A {
- static final x = 1;
- static final y = "Two is greater than ${x}";
+ static const x = 1;
+ static const y = "Two is greater than ${x}";
}
main() {
« no previous file with comments | « tests/language/string_interpolation1_negative_test.dart ('k') | tests/language/string_interpolation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698