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

Unified Diff: tests/compiler/dart2js/is_inference_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/is_inference2_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/is_inference_test.dart
===================================================================
--- tests/compiler/dart2js/is_inference_test.dart (revision 11349)
+++ tests/compiler/dart2js/is_inference_test.dart (working copy)
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-final String TEST_IF = @"""
+const String TEST_IF = @"""
test(param) {
if (param is int) {
param = param + 42;
@@ -13,7 +13,7 @@
}
""";
-final String TEST_IF_ELSE = @"""
+const String TEST_IF_ELSE = @"""
test(param) {
if (param is int) {
param = param + 42;
@@ -24,7 +24,7 @@
}
""";
-final String TEST_IF_RETURN = @"""
+const String TEST_IF_RETURN = @"""
test(param) {
if (param is int) {
return param + 42;
@@ -33,7 +33,7 @@
}
""";
-final String TEST_IF_NOT_ELSE = @"""
+const String TEST_IF_NOT_ELSE = @"""
test(param) {
if (param is !int) {
param = param + 53;
@@ -44,14 +44,14 @@
}
""";
-final String TEST_IF_NOT_RETURN = @"""
+const String TEST_IF_NOT_RETURN = @"""
test(param) {
if (param is !int) return param + 53;
return param + 42;
}
""";
-final String TEST_IF_NOT_ELSE_RETURN = @"""
+const String TEST_IF_NOT_ELSE_RETURN = @"""
test(param) {
if (param is !int) {
return param + 53;
« no previous file with comments | « tests/compiler/dart2js/is_inference2_test.dart ('k') | tests/compiler/dart2js/literal_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698