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

Unified Diff: tests/compiler/dart2js/minify_many_locals_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/identity_test.dart ('k') | tests/compiler/dart2js/pretty_parameter_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/minify_many_locals_test.dart
diff --git a/tests/compiler/dart2js/minify_many_locals_test.dart b/tests/compiler/dart2js/minify_many_locals_test.dart
index bdc22aa0a57af07bd525226542f490793041457f..5628017a4b0c06b08169e3d1c4263b34d54bb386 100644
--- a/tests/compiler/dart2js/minify_many_locals_test.dart
+++ b/tests/compiler/dart2js/minify_many_locals_test.dart
@@ -17,24 +17,24 @@ main() {
}
buffer.add("2000; return i; }");
var generated = compile(buffer.toString(), 'foo', minify: true);
- RegExp re = new RegExp(r"\(a,b,c");
+ RegExp re = const RegExp(r"\(a,b,c");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"x,y,z,A,B,C");
+ re = const RegExp(r"x,y,z,A,B,C");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"Y,Z,a0,a1,a2,a3,a4,a5,a6");
+ re = const RegExp(r"Y,Z,a0,a1,a2,a3,a4,a5,a6");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"g8,g9,h0,h1");
+ re = const RegExp(r"g8,g9,h0,h1");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"Z8,Z9,aa0,aa1,aa2");
+ re = const RegExp(r"Z8,Z9,aa0,aa1,aa2");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"aa9,ab0,ab1");
+ re = const RegExp(r"aa9,ab0,ab1");
Expect.isTrue(re.hasMatch(generated));
- re = new RegExp(r"aZ9,ba0,ba1");
+ re = const RegExp(r"aZ9,ba0,ba1");
Expect.isTrue(re.hasMatch(generated));
}
« no previous file with comments | « tests/compiler/dart2js/identity_test.dart ('k') | tests/compiler/dart2js/pretty_parameter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698