Index: tests/language/src/NoSuchMethodNegativeTest.dart |
diff --git a/tests/language/src/NoSuchMethodNegativeTest.dart b/tests/language/src/NoSuchMethodNegativeTest.dart |
deleted file mode 100644 |
index f2a9d720b4dae9e0ca2b0a9570ad97bceff9245b..0000000000000000000000000000000000000000 |
--- a/tests/language/src/NoSuchMethodNegativeTest.dart |
+++ /dev/null |
@@ -1,19 +0,0 @@ |
-// Copyright (c) 2011, 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. |
-// Dart test program testing that NoSuchMethodException stops the program. |
- |
-class NoSuchMethodNegativeTest { |
- NoSuchMethodNegativeTest() {} |
- |
- foo() { return 1; } |
- |
- static testMain() { |
- var obj = new NoSuchMethodNegativeTest(); |
- return obj.moo(); // NoSuchMethodException thrown here |
- } |
-} |
- |
-main() { |
- NoSuchMethodNegativeTest.testMain(); |
-} |