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

Unified Diff: pkg/testing/lib/src/test_description.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/test_dart/status_file_parser.dart ('k') | pkg/testing/lib/src/test_root.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/testing/lib/src/test_description.dart
diff --git a/pkg/testing/lib/src/test_description.dart b/pkg/testing/lib/src/test_description.dart
index 9b1c5b3169b4069342326d761f2b947951e2567b..12e0b03394b0fe16e2325f41ac502570adb406ad 100644
--- a/pkg/testing/lib/src/test_description.dart
+++ b/pkg/testing/lib/src/test_description.dart
@@ -4,9 +4,7 @@
library testing.test_description;
-import 'dart:io' show
- File,
- FileSystemEntity;
+import 'dart:io' show File, FileSystemEntity;
class TestDescription implements Comparable<TestDescription> {
final Uri root;
@@ -44,8 +42,8 @@ class TestDescription implements Comparable<TestDescription> {
sink.writeln('.main,');
}
- static TestDescription from(
- Uri root, FileSystemEntity entity, {Pattern pattern}) {
+ static TestDescription from(Uri root, FileSystemEntity entity,
+ {Pattern pattern}) {
if (entity is! File) return null;
pattern ??= "_test.dart";
String path = entity.uri.path;
« no previous file with comments | « pkg/testing/lib/src/test_dart/status_file_parser.dart ('k') | pkg/testing/lib/src/test_root.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698