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

Unified Diff: tests/compiler/dart2js/builtin_interceptor_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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/compiler/dart2js/builtin_interceptor_test.dart
===================================================================
--- tests/compiler/dart2js/builtin_interceptor_test.dart (revision 11349)
+++ tests/compiler/dart2js/builtin_interceptor_test.dart (working copy)
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-final String TEST_ONE = @"""
+const String TEST_ONE = @"""
foo(String a) {
// index into the parameter and move into a loop to make sure we'll get a
// type guard.
@@ -15,19 +15,19 @@
}
""";
-final String TEST_TWO = @"""
+const String TEST_TWO = @"""
foo() {
return "foo".length;
}
""";
-final String TEST_THREE = @"""
+const String TEST_THREE = @"""
foo() {
return @"foo".length;
}
""";
-final String TEST_FOUR = @"""
+const String TEST_FOUR = @"""
foo() {
return new List().add(2);
}
« no previous file with comments | « tests/compiler/dart2js/boolify_test.dart ('k') | tests/compiler/dart2js/call_site_type_inferer_static_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698