Index: tests/language/src/ExceptionIdentityTest.dart |
diff --git a/tests/language/src/ExceptionIdentityTest.dart b/tests/language/src/ExceptionIdentityTest.dart |
deleted file mode 100644 |
index c50475c84a4ff3a9fb2dbfa0de84dd8a6392396b..0000000000000000000000000000000000000000 |
--- a/tests/language/src/ExceptionIdentityTest.dart |
+++ /dev/null |
@@ -1,24 +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. |
- |
-// Test that an object when thrown stays the same. |
- |
-class A { |
- A(); |
-} |
- |
-check(exception) { |
- try { |
- throw exception; |
- } catch (var e) { |
- Expect.equals(exception, e); |
- } |
-} |
- |
-main() { |
- check("str"); |
- check(new A()); |
- check(1); |
- check(1.2); |
-} |