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

Unified Diff: tests/compiler/dart2js/call_site_type_inferer_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/call_site_type_inferer_test.dart
===================================================================
--- tests/compiler/dart2js/call_site_type_inferer_test.dart (revision 11349)
+++ tests/compiler/dart2js/call_site_type_inferer_test.dart (working copy)
@@ -21,35 +21,35 @@
return check(compiler.backend, member);
}
-final String TEST_ONE = @"""
+const String TEST_ONE = @"""
class A {
x(p) => p;
}
main() { new A().x("s"); }
""";
-final String TEST_TWO = @"""
+const String TEST_TWO = @"""
class A {
x(p) => p;
}
main() { new A().x(1); }
""";
-final String TEST_THREE = @"""
+const String TEST_THREE = @"""
class A {
x(p) => x(p - 1);
}
main() { new A().x(1); }
""";
-final String TEST_FOUR = @"""
+const String TEST_FOUR = @"""
class A {
x(p) => x(p - 1);
}
main() { new A().x(1.0); }
""";
-final String TEST_FIVE = @"""
+const String TEST_FIVE = @"""
class A {
x(p) => p;
}
@@ -59,7 +59,7 @@
}
""";
-final String TEST_SIX = @"""
+const String TEST_SIX = @"""
class A {
x(p) => p;
}
@@ -69,7 +69,7 @@
}
""";
-final String TEST_SEVEN = @"""
+const String TEST_SEVEN = @"""
class A {
x(p) => x("x");
}
@@ -78,7 +78,7 @@
}
""";
-final String TEST_EIGHT = @"""
+const String TEST_EIGHT = @"""
class A {
x(p1, p2) => x(p1, "x");
}
@@ -87,7 +87,7 @@
}
""";
-final String TEST_NINE = @"""
+const String TEST_NINE = @"""
class A {
x(p1, p2) => x(p1, p2);
}
@@ -96,7 +96,7 @@
}
""";
-final String TEST_TEN = @"""
+const String TEST_TEN = @"""
class A {
x(p1, p2) => x(p1, p2);
}
@@ -109,7 +109,7 @@
}
""";
-final String TEST_ELEVEN = @"""
+const String TEST_ELEVEN = @"""
class A {
x(p1, p2) => x(1, 2);
}
@@ -118,7 +118,7 @@
}
""";
-final String TEST_TWELVE = @"""
+const String TEST_TWELVE = @"""
class A {
x(p1, p2) => 1;
}
@@ -133,7 +133,7 @@
}
""";
-final String TEST_13 = @"""
+const String TEST_13 = @"""
class A {
x(p1, [p2 = 1]) => 1;
}
« no previous file with comments | « tests/compiler/dart2js/call_site_type_inferer_static_test.dart ('k') | tests/compiler/dart2js/class_codegen2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698