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

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

Issue 11312203: "Reverting 14829-14832" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/redundant_phi_eliminator_test.dart
diff --git a/tests/compiler/dart2js/redundant_phi_eliminator_test.dart b/tests/compiler/dart2js/redundant_phi_eliminator_test.dart
index 63d8b8b10d3a4bae69f28c1739f9091c662d621b..47bdd46b5fcf442df30770f77bf18c5564193b15 100644
--- a/tests/compiler/dart2js/redundant_phi_eliminator_test.dart
+++ b/tests/compiler/dart2js/redundant_phi_eliminator_test.dart
@@ -28,12 +28,12 @@ void foo() {
main() {
String generated = compile(TEST_ONE, entry: 'foo');
- RegExp regexp = new RegExp("toBeRemoved");
+ RegExp regexp = const RegExp("toBeRemoved");
Expect.isTrue(!regexp.hasMatch(generated));
generated = compile(TEST_TWO, entry: 'foo');
- regexp = new RegExp("toBeRemoved");
+ regexp = const RegExp("toBeRemoved");
Expect.isTrue(!regexp.hasMatch(generated));
- regexp = new RegExp("temp");
+ regexp = const RegExp("temp");
Expect.isTrue(!regexp.hasMatch(generated));
}
« no previous file with comments | « tests/compiler/dart2js/pretty_parameter_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