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

Unified Diff: test/stream_group_test.dart

Issue 1216313003: pkg/async: cleanup unused variables in tests (Closed) Base URL: https://github.com/dart-lang/async.git@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 | test/stream_zip_test.dart » ('j') | test/stream_zip_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/stream_group_test.dart
diff --git a/test/stream_group_test.dart b/test/stream_group_test.dart
index 727077cebd72d76b1a71168bfaa876acf35b799f..db6c9387136cc4f39c1a94710baf9d80133c376d 100644
--- a/test/stream_group_test.dart
+++ b/test/stream_group_test.dart
@@ -472,9 +472,8 @@ void regardlessOfType(StreamGroup<String> newStreamGroup()) {
});
group("while active", () {
- var subscription;
setUp(() async {
- subscription = streamGroup.stream.listen(null);
+ streamGroup.stream.listen(null);
await flushMicrotasks();
});
« no previous file with comments | « no previous file | test/stream_zip_test.dart » ('j') | test/stream_zip_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698