Index: tests/language/src/WrongNumberTypeArgumentsTest.dart |
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart b/tests/language/src/WrongNumberTypeArgumentsTest.dart |
similarity index 69% |
rename from compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart |
rename to tests/language/src/WrongNumberTypeArgumentsTest.dart |
index bd2651dd11f596cc849966baa0106c677b73249f..d2d711e7a5ff080de9f6976e3d41d979e14813ab 100644 |
--- a/compiler/javatests/com/google/dart/compiler/resolver/ArrayLiteralNegativeTest.dart |
+++ b/tests/language/src/WrongNumberTypeArgumentsTest.dart |
@@ -2,8 +2,8 @@ |
// 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. |
-class A { |
- main() { |
- List<int, int> ints = [1]; |
- } |
+Map<String> foo; // Static type warning: Map takes 2 type arguments. |
+ |
+main() { |
+ foo = null; |
} |