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

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

Issue 119933002: Fix bug in bound_closure_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments and fix other unbound names. Created 7 years 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
diff --git a/dart/tests/compiler/dart2js_native/bound_closure_test.dart b/dart/tests/compiler/dart2js_native/bound_closure_test.dart
index 59dc306bfcb3449c1ed412fc4cec58744cd420b5..4be2c80d357032ecb8cd6d23b7e1ec6c5addd48a 100644
--- a/dart/tests/compiler/dart2js_native/bound_closure_test.dart
+++ b/dart/tests/compiler/dart2js_native/bound_closure_test.dart
@@ -46,7 +46,7 @@ main() {
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 @@ main() {
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 @@ main() {
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