Index: tests/language/overridden_no_such_method.dart |
diff --git a/tests/language/overridden_no_such_method.dart b/tests/language/overridden_no_such_method.dart |
index d2d26fbddd971e15f20454f544729e2b4497c560..b06fc5ccc40fdb33468a9e1c4b4c39b1f153ac32 100644 |
--- a/tests/language/overridden_no_such_method.dart |
+++ b/tests/language/overridden_no_such_method.dart |
@@ -7,9 +7,10 @@ class OverriddenNoSuchMethod { |
OverriddenNoSuchMethod() {} |
- noSuchMethod(var function_name, List args) { |
- Expect.equals("foo", function_name); |
+ noSuchMethod(InvocationMirror mirror) { |
+ Expect.equals("foo", mirror.memberName); |
// 'foo' was called with two parameters (not counting receiver). |
+ List args = mirror.positionalArguments; |
Expect.equals(2, args.length); |
Expect.equals(101, args[0]); |
Expect.equals(202, args[1]); |