Index: test/codegen/expect/methods.js |
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js |
index 836d8fcd58f54b3b3751ad5cf677edad98bf57fe..4f429dfc4d698fea90ff8ad3bf86b4a27c724f9d 100644 |
--- a/test/codegen/expect/methods.js |
+++ b/test/codegen/expect/methods.js |
@@ -83,8 +83,8 @@ dart_library.library('methods', null, /* Imports */[ |
let g = dart.bind(a, 'x'); |
let aa = new A(); |
let h = dart.dload(aa, 'x'); |
- let ts = dart.fn(dart.toString.bind(a), core.String, []); |
- let nsm = dart.fn(dart.noSuchMethod.bind(a), dart.dynamic, [core.Invocation]); |
+ let ts = dart.bind(a, 'toString'); |
+ let nsm = dart.bind(a, 'noSuchMethod'); |
let c = dart.bind("", dartx.padLeft); |
let r = dart.bind(3.0, dartx.floor); |
} |