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

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

Issue 10692087: Reapply change to update dart2js operator equals semantics to follow (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Whoops, fix eqB to use === true Created 8 years, 5 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 ac108a1b81418ac967223aca9709f73879b619e1..d366ecce88ba070cc91cdabee69f91c4d315f877 100644
--- a/tests/compiler/dart2js/constant_folding_test.dart
+++ b/tests/compiler/dart2js/constant_folding_test.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, 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(@'eqNullB\(a\)');
+ RegExp regexp = const RegExp(@'a == null');
Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp(@'null == b');

Powered by Google App Engine
This is Rietveld 408576698