Index: utils/tests/archive/reader_test.dart |
diff --git a/utils/tests/archive/reader_test.dart b/utils/tests/archive/reader_test.dart |
index 55a0a14ab5a4537cb228f1575ef79d69a4a906dc..0feac5238b118d331956e9d8058fcaa74cfd1b40 100644 |
--- a/utils/tests/archive/reader_test.dart |
+++ b/utils/tests/archive/reader_test.dart |
@@ -55,7 +55,7 @@ main() { |
reader.filter.gzip = true; |
var future = reader.openFilename("$dataPath/test-archive.tar.gz") |
- .chain((input) => input.readAll()) |
+ .then((input) => input.readAll()) |
.then((entries) { |
entries = entries |
.mappedBy((entry) => [entry.pathname, entry.contents.trim()]) |
@@ -76,7 +76,7 @@ main() { |
reader.filter.gzip = true; |
var future = new File("$dataPath/test-archive.tar.gz").readAsBytes() |
- .chain((bytes) => reader.openData(bytes)) |
+ .then((bytes) => reader.openData(bytes)) |
.then((input) { |
var log = <String>[]; |
input.onEntry = (entry) => guardAsync(() { |