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

Unified Diff: packages/quiver/test/io_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 | « packages/quiver/test/core/optional_test.dart ('k') | packages/quiver/test/iterables/concat_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]));
});
});
« no previous file with comments | « packages/quiver/test/core/optional_test.dart ('k') | packages/quiver/test/iterables/concat_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698