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

Unified Diff: tests/compiler/dart2js/dead_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/dead_phi_eliminator_test.dart
diff --git a/tests/compiler/dart2js/dead_phi_eliminator_test.dart b/tests/compiler/dart2js/dead_phi_eliminator_test.dart
index 8ba3387ef9d16cc8c64b046880f26f1b1492c5fe..82ed1c651a84e883d2bf8fce85ceb221942a4d4e 100644
--- a/tests/compiler/dart2js/dead_phi_eliminator_test.dart
+++ b/tests/compiler/dart2js/dead_phi_eliminator_test.dart
@@ -17,6 +17,6 @@ void foo(bar) {
main() {
String generated = compile(TEST_ONE, entry: 'foo');
- RegExp regexp = new RegExp("toBeRemoved");
+ RegExp regexp = const RegExp("toBeRemoved");
Expect.isTrue(!regexp.hasMatch(generated));
}
« no previous file with comments | « tests/compiler/dart2js/constant_folding_test.dart ('k') | tests/compiler/dart2js/gvn_dynamic_field_get_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698