Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Feb 13, 2024
1 parent f5a08a3 commit a503391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/stream_completer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void main() {
var subscription = controller.stream.listen(events.add);
var done = subscription.asFuture();
subscription.pause();
var sourceController = StreamController<void>();
var sourceController = StreamController<int>();
sourceController
..add(1)
..add(2)
Expand Down
4 changes: 2 additions & 2 deletions test/stream_sink_completer_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void main() {
var sink = TestSink();
completer.setDestinationSink(sink);

var controller = StreamController<void>();
var controller = StreamController<int>();
completer.sink.addStream(controller.stream);

controller.add(1);
Expand Down Expand Up @@ -152,7 +152,7 @@ void main() {
});

test('addStream is forwarded', () async {
var controller = StreamController<void>();
var controller = StreamController<int>();
completer.sink.addStream(controller.stream);

controller.add(1);
Expand Down

0 comments on commit a503391

Please sign in to comment.