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

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

Issue 10698079: Revert all the changes to equals operator. Causing buildbot trouble. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « tests/compiler/dart2js/boolified_operator_test.dart ('k') | tests/language/operator5_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d366ecce88ba070cc91cdabee69f91c4d315f877..ac108a1b81418ac967223aca9709f73879b619e1 100644
--- a/tests/compiler/dart2js/constant_folding_test.dart
+++ b/tests/compiler/dart2js/constant_folding_test.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Test constant folding on numbers.
@@ -37,7 +37,7 @@ main() {
NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(@"print\(1\)"));
String generated = compile(NULL_EQUALS_FOLDING, 'foo');
- RegExp regexp = const RegExp(@'a == null');
+ RegExp regexp = const RegExp(@'eqNullB\(a\)');
Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp(@'null == b');
« no previous file with comments | « tests/compiler/dart2js/boolified_operator_test.dart ('k') | tests/language/operator5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698