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

Unified Diff: frog/tests/leg/src/ConstantFoldingTest.dart

Issue 10236007: Revert "Avoid "=== true" inside code by calling a function that does this for us." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « frog/tests/leg/src/BoolifiedOperatorTest.dart ('k') | frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/ConstantFoldingTest.dart
diff --git a/frog/tests/leg/src/ConstantFoldingTest.dart b/frog/tests/leg/src/ConstantFoldingTest.dart
index 9a05a14362fcc78ebceb2e4d4c63e15a70b99e8f..e03221063d3dbfdb27c50f1e1c382235348cc5dd 100644
--- a/frog/tests/leg/src/ConstantFoldingTest.dart
+++ b/frog/tests/leg/src/ConstantFoldingTest.dart
@@ -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(@'eqNull\(a\)');
Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp(@'\(?void 0\)? === b');
« no previous file with comments | « frog/tests/leg/src/BoolifiedOperatorTest.dart ('k') | frog/tests/leg/src/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698