| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| index 3128d8ab49c75d295cc606df962264ed1997fd3e..1ba37a03e47ed704e151721971f4ca1916fd9b4a 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
|
| @@ -55,9 +55,8 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
|
| analyze("List<String> strings = <String>['x'];");
|
| analyze("List array = ['x'];");
|
| analyze("List array = <String>['x'];");
|
| - analyze("List<int> ints = ['x'];");
|
| - analyzeFail("List<int> ints = <String>['x'];",
|
| - TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE);
|
| + analyzeFail("List<int> ints = ['x'];", TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE);
|
| + analyzeFail("List<int> ints = <String>['x'];", TypeErrorCode.TYPE_NOT_ASSIGNMENT_COMPATIBLE);
|
| }
|
|
|
| public void testBadInitializers() {
|
|
|