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

Unified Diff: tests/language/reg_exp_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/corelib/string_split_reg_exp_test.dart ('k') | tools/release/version.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/reg_exp_test.dart
diff --git a/tests/language/reg_exp_test.dart b/tests/language/reg_exp_test.dart
index aa3fe39e4f1ac6bf921a669a282e14f0934e27d0..72b4ab084a3ddff14f4d95e638ac08e95f20f2a5 100644
--- a/tests/language/reg_exp_test.dart
+++ b/tests/language/reg_exp_test.dart
@@ -5,7 +5,7 @@
class RegExpTest {
static test1() {
- RegExp exp = new RegExp("(\\w+)");
+ RegExp exp = const RegExp("(\\w+)");
String str = "Parse my string";
List<Match> matches = new List<Match>.from(exp.allMatches(str));
Expect.equals(3, matches.length);
« no previous file with comments | « tests/corelib/string_split_reg_exp_test.dart ('k') | tools/release/version.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698