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

Side by Side Diff: test/stream_group_test.dart

Issue 1777453002: Modernize the package's style. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Code review changes Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « test/result_test.dart ('k') | test/stream_zip_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library async.test.stream_group_test;
6
7 import 'dart:async'; 5 import 'dart:async';
8 6
9 import 'package:async/async.dart'; 7 import 'package:async/async.dart';
10 import 'package:test/test.dart'; 8 import 'package:test/test.dart';
11 9
12 main() { 10 main() {
13 group("single-subscription", () { 11 group("single-subscription", () {
14 var streamGroup; 12 var streamGroup;
15 setUp(() { 13 setUp(() {
16 streamGroup = new StreamGroup<String>(); 14 streamGroup = new StreamGroup<String>();
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 controller.close(); 712 controller.close();
715 713
716 await streamGroup.close(); 714 await streamGroup.close();
717 expect(events, equals(["one", "two", "three", "four", "five", "six"])); 715 expect(events, equals(["one", "two", "three", "four", "five", "six"]));
718 }); 716 });
719 }); 717 });
720 } 718 }
721 719
722 /// Wait for all microtasks to complete. 720 /// Wait for all microtasks to complete.
723 Future flushMicrotasks() => new Future.delayed(Duration.ZERO); 721 Future flushMicrotasks() => new Future.delayed(Duration.ZERO);
OLDNEW
« no previous file with comments | « test/result_test.dart ('k') | test/stream_zip_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698