Index: sdk/lib/_internal/pub_generated/test/descriptor/tar.dart |
diff --git a/sdk/lib/_internal/pub/test/descriptor/tar.dart b/sdk/lib/_internal/pub_generated/test/descriptor/tar.dart |
similarity index 84% |
copy from sdk/lib/_internal/pub/test/descriptor/tar.dart |
copy to sdk/lib/_internal/pub_generated/test/descriptor/tar.dart |
index 2a04a034a9c818d403021f79b69e5c574ce640eb..19280dc8b67f1dea9e1c5c75df4eddb1508b8e71 100644 |
--- a/sdk/lib/_internal/pub/test/descriptor/tar.dart |
+++ b/sdk/lib/_internal/pub_generated/test/descriptor/tar.dart |
@@ -13,8 +13,8 @@ import 'package:scheduled_test/descriptor.dart'; |
import '../../lib/src/io.dart'; |
/// Describes a tar file and its contents. |
-class TarFileDescriptor extends DirectoryDescriptor |
- implements ReadableDescriptor { |
+class TarFileDescriptor extends DirectoryDescriptor implements |
+ ReadableDescriptor { |
TarFileDescriptor(String name, List<Descriptor> contents) |
: super(name, contents); |
@@ -26,9 +26,8 @@ class TarFileDescriptor extends DirectoryDescriptor |
return Future.wait(contents.map((entry) { |
return entry.create(tempDir); |
})).then((_) { |
- var createdContents = listDir(tempDir, |
- recursive: true, |
- includeHidden: true); |
+ var createdContents = |
+ listDir(tempDir, recursive: true, includeHidden: true); |
return createTarGz(createdContents, baseDir: tempDir).toBytes(); |
}).then((bytes) { |
var file = path.join(parent, name); |
@@ -46,8 +45,8 @@ class TarFileDescriptor extends DirectoryDescriptor |
Stream<List<int>> read() { |
return new Stream<List<int>>.fromFuture(withTempDir((tempDir) { |
- return create(tempDir).then((_) => |
- readBinaryFile(path.join(tempDir, name))); |
+ return create( |
+ tempDir).then((_) => readBinaryFile(path.join(tempDir, name))); |
})); |
} |
} |