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

Unified Diff: tests/compiler/dart2js/return_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/return_type_inferer_test.dart
===================================================================
--- tests/compiler/dart2js/return_type_inferer_test.dart (revision 11349)
+++ tests/compiler/dart2js/return_type_inferer_test.dart (working copy)
@@ -6,42 +6,42 @@
#import('compiler_helper.dart');
-final String TEST_ONE = @"""
+const String TEST_ONE = @"""
f(p) { if (p == null) return p; else return p; }
main() { f("s"); }
""";
-final String TEST_TWO = @"""
+const String TEST_TWO = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1); }
""";
-final String TEST_THREE = @"""
+const String TEST_THREE = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1); f(2); }
""";
-final String TEST_FOUR = @"""
+const String TEST_FOUR = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1.1); }
""";
-final String TEST_FIVE = @"""
+const String TEST_FIVE = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1); f(2.2); }
""";
-final String TEST_SIX = @"""
+const String TEST_SIX = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1.1); f(2); }
""";
-final String TEST_SEVEN = @"""
+const String TEST_SEVEN = @"""
f(p) { if (p == null) return p; else return p; }
main() { f(1); f("s"); }
""";
-final String TEST_EIGHT = @"""
+const String TEST_EIGHT = @"""
f(p1, p2) {
if (p1 == null) return p1;
else return p1;
@@ -49,7 +49,7 @@
main() { f(1, 2); f(1, "s"); }
""";
-final String TEST_NINE = @"""
+const String TEST_NINE = @"""
f(p1, p2) {
if (p1 == null) return p1;
else return p1;
@@ -57,7 +57,7 @@
main() { f("s", 2); f(1, "s"); }
""";
-final String TEST_TEN = @"""
+const String TEST_TEN = @"""
f(p) { if (p == null) return p; else return p; }
g(p) { if (p == null) return p; else return p; }
main() { f(1); g(f); }
« no previous file with comments | « tests/compiler/dart2js/redundant_phi_eliminator_test.dart ('k') | tests/compiler/dart2js/rewrite_better_user_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698