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

Unified Diff: pkg/async/test/stream_zip_zone_test.dart

Issue 217113002: pkg/async: updates for unittest deprecations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/async/test/stream_zip_test.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/async/test/stream_zip_zone_test.dart
diff --git a/pkg/async/test/stream_zip_zone_test.dart b/pkg/async/test/stream_zip_zone_test.dart
index d39e3d72042b02d1cfc5bde2ac9426c395d84f6b..0b0c4bc53377f87ccebcfc41abd0bd246ed2d622 100644
--- a/pkg/async/test/stream_zip_zone_test.dart
+++ b/pkg/async/test/stream_zip_zone_test.dart
@@ -3,7 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
import "dart:async";
-import "package:async/stream_zip.dart";
import "package:unittest/unittest.dart";
// Test that stream listener callbacks all happen in the zone where the
@@ -34,16 +33,16 @@ void testStream(String name, StreamController controller, Stream stream) {
runZoned(() {
Zone newZone1 = Zone.current;
StreamSubscription sub;
- sub = stream.listen(expectAsync1((v) {
+ sub = stream.listen(expectAsync((v) {
expect(v, 42);
expect(Zone.current, newZone1);
outer.run(() {
- sub.onData(expectAsync1((v) {
+ sub.onData(expectAsync((v) {
expect(v, 37);
expect(Zone.current, newZone1);
runZoned(() {
Zone newZone2 = Zone.current;
- sub.onData(expectAsync1((v) {
+ sub.onData(expectAsync((v) {
expect(v, 87);
expect(Zone.current, newZone1);
}));
« no previous file with comments | « pkg/async/test/stream_zip_test.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698