Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Unified Diff: pkg/testing/lib/src/discover.dart

Issue 2925823002: Use Fasta scanner when running analyzer. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« pkg/testing/lib/src/analyze.dart ('K') | « pkg/testing/lib/src/analyze.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/discover.dart
diff --git a/pkg/testing/lib/src/discover.dart b/pkg/testing/lib/src/discover.dart
index 14d8ead32fe985c470b8d99d0ee53ee2f99cd0e4..2690ce969824c55bda4294be5432a69c4ac486a0 100644
--- a/pkg/testing/lib/src/discover.dart
+++ b/pkg/testing/lib/src/discover.dart
@@ -16,7 +16,8 @@ final Uri dartSdk = computeDartSdk();
/// Common arguments when running a dart program. Returns a copy that can
/// safely be modified by caller.
-List<String> get dartArguments => <String>["-c", "--packages=$packageConfig"];
+List<String> get dartArguments =>
+ <String>["-c", "--packages=${packageConfig.toFilePath()}"];
Stream<TestDescription> listTests(List<Uri> testRoots, {Pattern pattern}) {
StreamController<TestDescription> controller =
« pkg/testing/lib/src/analyze.dart ('K') | « pkg/testing/lib/src/analyze.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698