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

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

Issue 11265020: Minifying renamer for classes, methods and instance variables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 24b7630376f5838f730090a076a0fc7815386562..842e8ce1e155e5b3ac09195066a674621ad891a5 100644
--- a/tests/compiler/dart2js/constant_folding_test.dart
+++ b/tests/compiler/dart2js/constant_folding_test.dart
@@ -31,10 +31,11 @@ foo(a, b, c, d) {
""";
main() {
+ var r = compile(NUMBER_FOLDING, 'main');
compileAndMatch(
- NUMBER_FOLDING, 'main', const RegExp(r"print\(7\)"));
+ NUMBER_FOLDING, 'main', const RegExp(r"p(rint)?\(7\)"));
compileAndMatch(
- NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(r"print\(1\)"));
+ NEGATIVE_NUMBER_FOLDING, 'main', const RegExp(r"p(rint)?\(1\)"));
String generated = compile(NULL_EQUALS_FOLDING, entry: 'foo');
RegExp regexp = const RegExp(r'a == null');

Powered by Google App Engine
This is Rietveld 408576698