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

Unified Diff: tests/compiler/dart2js/type_guard_unuser_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
« no previous file with comments | « tests/compiler/dart2js/type_combination_test.dart ('k') | tests/compiler/dart2js/type_inference2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_guard_unuser_test.dart
===================================================================
--- tests/compiler/dart2js/type_guard_unuser_test.dart (revision 11349)
+++ tests/compiler/dart2js/type_guard_unuser_test.dart (working copy)
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-final String TEST_ONE = @"""
+const String TEST_ONE = @"""
foo(a) {
int c = foo(true);
if (a) c = foo(2);
@@ -13,7 +13,7 @@
""";
-final String TEST_TWO = @"""
+const String TEST_TWO = @"""
bar(a) {}
foo(d) {
int a = 1;
@@ -23,13 +23,13 @@
}
""";
-final String TEST_THREE = @"""
+const String TEST_THREE = @"""
foo(int param1, int param2) {
return 0 + param1 + param2;
}
""";
-final String TEST_THREE_WITH_BAILOUT = @"""
+const String TEST_THREE_WITH_BAILOUT = @"""
foo(int param1, int param2) {
var t;
for (int i = 0; i < 1; i++) {
« no previous file with comments | « tests/compiler/dart2js/type_combination_test.dart ('k') | tests/compiler/dart2js/type_inference2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698