Index: tests/lib/async/stream_state_helper.dart |
diff --git a/tests/lib/async/stream_state_helper.dart b/tests/lib/async/stream_state_helper.dart |
index 86d71a1cdb2adde31c515f8b93fbef20958ba9c0..8f9b33fe389e617f17f215402fcf1dceeee7b365 100644 |
--- a/tests/lib/async/stream_state_helper.dart |
+++ b/tests/lib/async/stream_state_helper.dart |
@@ -33,7 +33,7 @@ class StreamProtocolTest { |
// Actions on the stream and controller. |
void add(var data) { _controller.add(data); } |
- void error(var error) { _controller.signalError(error); } |
+ void error(var error) { _controller.addError(error); } |
void close() { _controller.close(); } |
void subscribe({bool unsubscribeOnError : false}) { |