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

Unified Diff: tests/lib/async/stream_timeout_test.dart

Issue 299623003: Revert "Make Stream.where, etc., be documented as inheriting broadcast state." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « sdk/lib/async/stream_transformers.dart ('k') | tests/lib/async/stream_transformation_broadcast_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/async/stream_timeout_test.dart
diff --git a/tests/lib/async/stream_timeout_test.dart b/tests/lib/async/stream_timeout_test.dart
index e0854960d2564c22abed53dcaa8ae59878eb6dc8..eac7100511c5a07917bbe0a5e726c8d4a210f0c0 100644
--- a/tests/lib/async/stream_timeout_test.dart
+++ b/tests/lib/async/stream_timeout_test.dart
@@ -67,7 +67,7 @@ main() {
test("broadcast stream timeout", () {
StreamController c = new StreamController.broadcast();
Stream tos = c.stream.timeout(ms5);
- expect(tos.isBroadcast, true);
+ expect(tos.isBroadcast, false);
tos.handleError(expectAsync((e, s) {
expect(e, new isInstanceOf<TimeoutException>());
expect(s, null);
@@ -77,7 +77,7 @@ main() {
test("asBroadcast stream timeout", () {
StreamController c = new StreamController.broadcast();
Stream tos = c.stream.asBroadcastStream().timeout(ms5);
- expect(tos.isBroadcast, true);
+ expect(tos.isBroadcast, false);
tos.handleError(expectAsync((e, s) {
expect(e, new isInstanceOf<TimeoutException>());
expect(s, null);
« no previous file with comments | « sdk/lib/async/stream_transformers.dart ('k') | tests/lib/async/stream_transformation_broadcast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698