Index: tests/language_strong/call_with_no_such_method_test.dart |
diff --git a/tests/language_strong/call_with_no_such_method_test.dart b/tests/language_strong/call_with_no_such_method_test.dart |
deleted file mode 100644 |
index 53792bb9a924b1b7e1bd1867742304d2bf615105..0000000000000000000000000000000000000000 |
--- a/tests/language_strong/call_with_no_such_method_test.dart |
+++ /dev/null |
@@ -1,20 +0,0 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-import "package:expect/expect.dart"; |
- |
-class F { |
- call() => null; |
- noSuchMethod(Invocation i) { |
- if (i.memberName == #call && i.isMethod) { |
- return i.positionalArguments[0]; |
- } |
- return super.noSuchMethod(i); |
- } |
-} |
- |
-main() { |
- var result = Function.apply(new F(), ['a', 'b', 'c', 'd']); |
- Expect.equals('a', result); |
-} |