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

Unified Diff: test/stream_queue_test.dart

Issue 1219683012: Fix syntax error which was accepted by the VM. (Closed) Base URL: https://github.com/dart-lang/async@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/stream_queue_test.dart
diff --git a/test/stream_queue_test.dart b/test/stream_queue_test.dart
index dcbf9211181667fc6d7ba65751677125670f1e43..a41faf9f615b2a3ff8d641653694da6c8421a8fb 100644
--- a/test/stream_queue_test.dart
+++ b/test/stream_queue_test.dart
@@ -142,7 +142,6 @@ main() {
expect(events.skip(2), completion(1));
await events.cancel();
});
-
test("multiple skips at same time complete in order.", () async {
var events = new StreamQueue<int>(createStream());
var skip1 = events.skip(1);
@@ -155,7 +154,7 @@ main() {
expect(value, expectedValue);
expect(index, sequenceIndex);
index++;
- }
+ };
await Future.wait([skip1.then(sequence(0, 0)),
skip2.then(sequence(0, 1)),
skip3.then(sequence(1, 2)),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698