Index: tests/language_strong/hash_map_null_key_foreach_test.dart |
diff --git a/tests/language_strong/hash_map_null_key_foreach_test.dart b/tests/language_strong/hash_map_null_key_foreach_test.dart |
deleted file mode 100644 |
index 4e566fb4adf4d2e796c1a3cf18b0003dce764933..0000000000000000000000000000000000000000 |
--- a/tests/language_strong/hash_map_null_key_foreach_test.dart |
+++ /dev/null |
@@ -1,19 +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"; |
- |
-// Regression test for using `null` as a key with `forEach`. |
- |
-main() { |
- var x = new Map<int, int>(); |
- x[1] = 2; |
- x[null] = 1; |
- int c = 0; |
- x.forEach((int i, int j) { |
- c++; |
- Expect.isTrue(i == null || i is int, 'int or null expected'); |
- }); |
- Expect.equals(2, c); |
-} |