Index: test/codegen/expect/methods.js |
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js |
index 708b0ce457c45f68eb0864161f508121862d41f6..87611b28f46ae68001dd5b444540fe235628c2d7 100644 |
--- a/test/codegen/expect/methods.js |
+++ b/test/codegen/expect/methods.js |
@@ -54,7 +54,7 @@ var methods; |
// Function test: () → dynamic |
function test() { |
let f = new Foo(); |
- dart.dsend(f, 'bar', "Bar's call method!"); |
+ dart.dcall(f.bar, "Bar's call method!"); |
} |
// Exports: |
exports.A = A; |