Index: pkg/analyzer/test/src/task/dart_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
index b9745636cafd1915bcc579ee42aeff565cec5c57..428ae9ccb76f12a0a70affeeaae16465f1e937c8 100644 |
--- a/pkg/analyzer/test/src/task/dart_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_test.dart |
@@ -5376,7 +5376,7 @@ B b = new A(); |
var errors = errorListener.errors; |
expect(errors.length, 1); |
- expect(errors[0].errorCode.name, "STRONG_MODE_STATIC_TYPE_ERROR"); |
+ expect(errors[0].errorCode.name, "STRONG_MODE_INVALID_CAST_NEW_EXPR"); |
} |
} |