| Index: packages/quiver/test/io_test.dart
|
| diff --git a/packages/quiver/test/io_test.dart b/packages/quiver/test/io_test.dart
|
| index a194f8b19ae5c725553fa11ba7d8879cfc0d0bd2..9f33565c90935c2ddfefb0828ffe7ffecb326b50 100644
|
| --- a/packages/quiver/test/io_test.dart
|
| +++ b/packages/quiver/test/io_test.dart
|
| @@ -28,7 +28,7 @@ main() {
|
| var string = '箙、靫';
|
| var encoded = UTF8.encoder.convert(string);
|
| var data = [encoded.sublist(0, 3), encoded.sublist(3)];
|
| - var stream = new Stream.fromIterable(data);
|
| + var stream = new Stream<List<int>>.fromIterable(data);
|
| byteStreamToString(stream).then((decoded) {
|
| expect(decoded, string);
|
| });
|
| @@ -38,7 +38,7 @@ main() {
|
| var string = 'blåbærgrød';
|
| var encoded = LATIN1.encoder.convert(string);
|
| var data = [encoded.sublist(0, 4), encoded.sublist(4)];
|
| - var stream = new Stream.fromIterable(data);
|
| + var stream = new Stream<List<int>>.fromIterable(data);
|
| byteStreamToString(stream, encoding: LATIN1).then((decoded) {
|
| expect(decoded, string);
|
| });
|
| @@ -114,8 +114,13 @@ main() {
|
| files.add(e);
|
| return new Future.value(!e.path.endsWith('dir2'));
|
| }).then((_) {
|
| - expect(files.map((e) => e.path), unorderedEquals(
|
| - ["$testPath/dir", "$testPath/dir/file", "$testPath/dir2",]));
|
| + expect(
|
| + files.map((e) => e.path),
|
| + unorderedEquals([
|
| + "$testPath/dir",
|
| + "$testPath/dir/file",
|
| + "$testPath/dir2",
|
| + ]));
|
| });
|
| });
|
|
|
|
|