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

Unified Diff: tests/compiler/dart2js/boolified_operator_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/co19/test_config.dart ('k') | tests/compiler/dart2js/class_codegen2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/boolified_operator_test.dart
diff --git a/tests/compiler/dart2js/boolified_operator_test.dart b/tests/compiler/dart2js/boolified_operator_test.dart
index 17581460f1241ddb76eb08b32950f6cd558913c8..d1807a12eab7b69b19df3d03d5ea35d19523baaf 100644
--- a/tests/compiler/dart2js/boolified_operator_test.dart
+++ b/tests/compiler/dart2js/boolified_operator_test.dart
@@ -47,7 +47,7 @@ foo(param0, param1) {
""";
main() {
- RegExp regexp = new RegExp('=== true');
+ RegExp regexp = const RegExp('=== true');
String generated = compile(TEST_EQUAL, entry: 'foo');
Expect.isFalse(generated.contains('=== true'));
« no previous file with comments | « tests/co19/test_config.dart ('k') | tests/compiler/dart2js/class_codegen2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698