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

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

Issue 9592009: Reapply "Refactor constant part." (r4958) with fixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update tests and fix code after renaming. Created 8 years, 9 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: frog/tests/leg/src/ClosureCodegenTest.dart
diff --git a/frog/tests/leg/src/ClosureCodegenTest.dart b/frog/tests/leg/src/ClosureCodegenTest.dart
index b1ab59d3d0fe9af591bae96c4b0c2b25d31bff96..326f438468e981ff859aaa19cd55da5a54795709 100644
--- a/frog/tests/leg/src/ClosureCodegenTest.dart
+++ b/frog/tests/leg/src/ClosureCodegenTest.dart
@@ -43,9 +43,9 @@ closureInvocation() {
String generated = compile(TEST_INVOCATION0);
Expect.isTrue(generated.contains(".\$call\$0()"));
generated = compile(TEST_INVOCATION1);
- Expect.isTrue(generated.contains(".\$call\$1(1)"));
+ Expect.isTrue(generated.contains(@".$call$1((1))"));
generated = compile(TEST_INVOCATION2);
- Expect.isTrue(generated.contains(".\$call\$2(1, 2)"));
+ Expect.isTrue(generated.contains(@".$call$2((1), (2))"));
}
// Make sure that the bailout version does not introduce a second version of

Powered by Google App Engine
This is Rietveld 408576698