Index: pkg/testing/lib/src/analyze.dart |
diff --git a/pkg/testing/lib/src/analyze.dart b/pkg/testing/lib/src/analyze.dart |
index e3a6303287139908ae83ea7eb07b844b71b72aee..0a41a57ecf186d0d5761f60cc117076eaf2518bc 100644 |
--- a/pkg/testing/lib/src/analyze.dart |
+++ b/pkg/testing/lib/src/analyze.dart |
@@ -116,6 +116,7 @@ Future<Null> analyzeUris(Uri analysisOptions, Uri packages, List<Uri> uris, |
"--packages=${packages.toFilePath()}", |
"--package-warnings", |
"--format=machine", |
+ "--dart-sdk=${Uri.base.resolve('sdk/').toFilePath()}", |
]; |
if (analysisOptions != null) { |
arguments.add("--options=${analysisOptions.toFilePath()}"); |