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

Unified Diff: tests/compiler/dart2js/constant_folding_test.dart

Issue 10533151: Make undefined and null equivalent. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 8 years, 6 months 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
Index: tests/compiler/dart2js/constant_folding_test.dart
diff --git a/tests/compiler/dart2js/constant_folding_test.dart b/tests/compiler/dart2js/constant_folding_test.dart
index 9a05a14362fcc78ebceb2e4d4c63e15a70b99e8f..ac108a1b81418ac967223aca9709f73879b619e1 100644
--- a/tests/compiler/dart2js/constant_folding_test.dart
+++ b/tests/compiler/dart2js/constant_folding_test.dart
@@ -40,7 +40,7 @@ main() {
RegExp regexp = const RegExp(@'eqNullB\(a\)');
Expect.isTrue(regexp.hasMatch(generated));
- regexp = const RegExp(@'\(?void 0\)? === b');
+ regexp = const RegExp(@'null == b');
Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp(@'4 === c');

Powered by Google App Engine
This is Rietveld 408576698