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

Unified Diff: tests/compiler/dart2js/array_static_intercept_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/array_static_intercept_test.dart
diff --git a/tests/compiler/dart2js/array_static_intercept_test.dart b/tests/compiler/dart2js/array_static_intercept_test.dart
index 815d92d5da01b37de57c55f3561d4c8602db633c..49e1f5137715c58305eb348e4f59d86dc437467d 100644
--- a/tests/compiler/dart2js/array_static_intercept_test.dart
+++ b/tests/compiler/dart2js/array_static_intercept_test.dart
@@ -14,7 +14,10 @@ foo(a) {
main() {
String generated = compile(TEST_ONE, entry: 'foo');
- Expect.isTrue(generated.contains(r'.add$1('));
- Expect.isTrue(generated.contains(r'.removeLast('));
- Expect.isTrue(generated.contains(r'.get$length('));
+ Expect.isTrue(generated.contains(r'.add$1(') ||
floitsch 2012/10/25 12:58:38 wouldn't it make sense to copy the test and invoke
erikcorry 2012/12/06 09:38:07 Yes.
+ generated.contains(r'.a('));
+ Expect.isTrue(generated.contains(r'.removeLast(') ||
+ generated.contains(r'.r('));
+ Expect.isTrue(generated.contains(r'.get$length(') ||
+ generated.contains(r'.g('));
}

Powered by Google App Engine
This is Rietveld 408576698