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

Unified Diff: tests/compiler/dart2js/type_guard_unuser_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/type_guard_unuser_test.dart
diff --git a/tests/compiler/dart2js/type_guard_unuser_test.dart b/tests/compiler/dart2js/type_guard_unuser_test.dart
index 199968f4b13e6be24fa2183c568276fcfdbfb674..6788160e1a6667c26f1aa8dd632dc4104c3d615e 100644
--- a/tests/compiler/dart2js/type_guard_unuser_test.dart
+++ b/tests/compiler/dart2js/type_guard_unuser_test.dart
@@ -47,7 +47,7 @@ main() {
Expect.isTrue(generated.contains(r'return a === true ? $.foo(2) : b;'));
generated = compile(TEST_TWO, entry: 'foo');
- regexp = new RegExp("foo\\(1\\)");
+ regexp = const RegExp("foo\\(1\\)");
matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
« no previous file with comments | « tests/compiler/dart2js/rewrite_better_user_test.dart ('k') | tests/compiler/dart2js/type_inference5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698