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

Unified Diff: tests/compiler/dart2js/value_range_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/type_inference_test.dart ('k') | tests/corelib/reg_exp1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/value_range_test.dart
diff --git a/tests/compiler/dart2js/value_range_test.dart b/tests/compiler/dart2js/value_range_test.dart
index d05ce30ab0dd7ccdf5b96fd59138a7d52ab4c114..50d40d935f9b348c8acf720a714e6a4b3458b54e 100644
--- a/tests/compiler/dart2js/value_range_test.dart
+++ b/tests/compiler/dart2js/value_range_test.dart
@@ -221,13 +221,13 @@ expect(String code, int kind) {
break;
case ONE_CHECK:
- RegExp regexp = new RegExp('ioore');
+ RegExp regexp = const RegExp('ioore');
Iterator matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
break;
case ONE_ZERO_CHECK:
- RegExp regexp = new RegExp('< 0');
+ RegExp regexp = const RegExp('< 0');
Iterator matches = regexp.allMatches(generated).iterator();
checkNumberOfMatches(matches, 1);
break;
« no previous file with comments | « tests/compiler/dart2js/type_inference_test.dart ('k') | tests/corelib/reg_exp1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698