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

Unified Diff: dart/tests/compiler/dart2js_native/bound_closure_test.dart

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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: dart/tests/compiler/dart2js_native/bound_closure_test.dart
===================================================================
--- dart/tests/compiler/dart2js_native/bound_closure_test.dart (revision 31530)
+++ dart/tests/compiler/dart2js_native/bound_closure_test.dart (working copy)
@@ -46,7 +46,7 @@
setup();
var a = inscrutable(new AA());
var b = inscrutable(makeBB());
- var c = inscrutable(makeCC);
+ var c = inscrutable(makeCC)();
Expect.equals('AA.bar(1, A)', inscrutable(a).bar(1));
Expect.equals('AA.bar(2, 3)', inscrutable(a).bar(2, 3));
@@ -64,7 +64,6 @@
var afoo = inscrutable(a).foo;
var bfoo = inscrutable(b).foo;
var cfoo = inscrutable(c).foo;
- var csfoo = inscrutable(c).superfoo;
Expect.equals('AA.bar(1, A)', abar(1));
Expect.equals('AA.bar(2, 3)', abar(2, 3));
@@ -77,7 +76,4 @@
Expect.equals('CC.foo(1, C)', cfoo(1));
Expect.equals('CC.foo(2, 3)', cfoo(2, 3));
-
- Expect.equals('BB.foo(1, B)', csfoo(1));
- Expect.equals('BB.foo(2, 3)', csfoo(2, 3));
}

Powered by Google App Engine
This is Rietveld 408576698