Chromium Code Reviews

Unified Diff: tests/language/string_interpolation1_negative_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: Instance fields are never const. 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
Index: tests/language/string_interpolation1_negative_test.dart
diff --git a/tests/language/string_interpolation1_negative_test.dart b/tests/language/string_interpolation1_negative_test.dart
index fe6f8c920687ca6b78ff81f05cff08e4a2556d8a..15ccfe422918a873b2468c6c39b66dd2e77ba552 100644
--- a/tests/language/string_interpolation1_negative_test.dart
+++ b/tests/language/string_interpolation1_negative_test.dart
@@ -11,7 +11,7 @@ class A {
class StringInterpolation1NegativeTest {
// Dollar not followed by "{" or identifier.
- static final DOLLAR = const A("$");
+ static const DOLLAR = const A("$");
testMain() {
}
}

Powered by Google App Engine