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

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

Issue 2743423009: Run dartfmt on remaining unformated pkg packages (Closed)
Patch Set: Run dartfmt on remaining unformated pkg packages Created 3 years, 9 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
« no previous file with comments | « pkg/testing/lib/src/chain.dart ('k') | pkg/testing/lib/src/error_handling.dart » ('j') | 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 219594771b24d36d3db8a1b2cbe10661925776f9..14d8ead32fe985c470b8d99d0ee53ee2f99cd0e4 100644
--- a/pkg/testing/lib/src/discover.dart
+++ b/pkg/testing/lib/src/discover.dart
@@ -4,20 +4,11 @@
library testing.discover;
-import 'dart:io' show
- Directory,
- FileSystemEntity,
- Platform,
- Process;
+import 'dart:io' show Directory, FileSystemEntity, Platform, Process;
-import 'dart:async' show
- Future,
- Stream,
- StreamController,
- StreamSubscription;
+import 'dart:async' show Future, Stream, StreamController, StreamSubscription;
-import '../testing.dart' show
- TestDescription;
+import '../testing.dart' show TestDescription;
final Uri packageConfig = computePackageConfig();
@@ -72,8 +63,8 @@ Uri computePackageConfig() {
}
Uri computeDartSdk() {
- String dartSdkPath = Platform.environment["DART_SDK"]
- ?? const String.fromEnvironment("DART_SDK");
+ String dartSdkPath = Platform.environment["DART_SDK"] ??
+ const String.fromEnvironment("DART_SDK");
if (dartSdkPath != null) {
return Uri.base.resolveUri(new Uri.file(dartSdkPath));
} else {
@@ -81,10 +72,8 @@ Uri computeDartSdk() {
}
}
-Future<Process> startDart(
- Uri program,
- [List<String> arguments,
- List<String> vmArguments]) {
+Future<Process> startDart(Uri program,
+ [List<String> arguments, List<String> vmArguments]) {
List<String> allArguments = <String>[];
allArguments.addAll(vmArguments ?? dartArguments);
allArguments.add(program.toFilePath());
« no previous file with comments | « pkg/testing/lib/src/chain.dart ('k') | pkg/testing/lib/src/error_handling.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698