| Index: pkg/testing/lib/src/analyze.dart
|
| diff --git a/pkg/testing/lib/src/analyze.dart b/pkg/testing/lib/src/analyze.dart
|
| index fa2ccd5c6846f80e59f75debde0a974df4131c51..ec67cd4b3d401d7263b14bc2d18eaa50188dfc00 100644
|
| --- a/pkg/testing/lib/src/analyze.dart
|
| +++ b/pkg/testing/lib/src/analyze.dart
|
| @@ -237,14 +237,6 @@ Future<Null> analyzeUris(
|
| await for (AnalyzerDiagnostic diagnostic in diagnostics) {
|
| if (diagnostic.uri != null) {
|
| String path = toFilePath(diagnostic.uri);
|
| - if (!(analysisOptions?.path?.contains("/pkg/compiler/") ?? false) &&
|
| - diagnostic.code.startsWith("STRONG_MODE") &&
|
| - (path.startsWith("pkg/compiler/") ||
|
| - path.startsWith("tests/compiler/dart2js/"))) {
|
| - // TODO(ahe): Remove this hack to work around dart2js not being
|
| - // strong-mode clean.
|
| - continue;
|
| - }
|
| if (!filesToAnalyze.contains(path)) continue;
|
| }
|
| String message = "$diagnostic";
|
|
|