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

Unified Diff: tests/compiler/dart2js/identity_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
« no previous file with comments | « tests/compiler/dart2js/gvn_test.dart ('k') | tests/compiler/dart2js/minify_many_locals_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/identity_test.dart
diff --git a/tests/compiler/dart2js/identity_test.dart b/tests/compiler/dart2js/identity_test.dart
index 2b72fe5b4deb6e4dc405684626d24eacf440cce3..3020f3a6e6e5b9f8dacc8e8f77fc620c81698027 100644
--- a/tests/compiler/dart2js/identity_test.dart
+++ b/tests/compiler/dart2js/identity_test.dart
@@ -17,11 +17,11 @@ main() {
String generated = compile(TEST_ONE, entry: 'foo');
// Check that no boolify code is generated.
- RegExp regexp = new RegExp("=== true");
+ RegExp regexp = const RegExp("=== true");
Iterator matches = regexp.allMatches(generated).iterator();
Expect.isFalse(matches.hasNext);
- regexp = new RegExp("===");
+ regexp = const RegExp("===");
matches = regexp.allMatches(generated).iterator();
Expect.isTrue(matches.hasNext);
matches.next();
« no previous file with comments | « tests/compiler/dart2js/gvn_test.dart ('k') | tests/compiler/dart2js/minify_many_locals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698