| commit | 836ed413f878b97e52189167d4187e0950910b03 | [log] [tgz] |
|---|---|---|
| author | Nate Bosch <nbosch@google.com> | Thu Aug 08 13:36:42 2019 -0700 |
| committer | GitHub <noreply@github.com> | Thu Aug 08 13:36:42 2019 -0700 |
| tree | 90bc7783dd378b537dfc98873de38844afca9539 | |
| parent | 68b946c14d44e0f5b03d45d48110e2f89b2d5af1 [diff] |
Use `drain` to reach end of stream in tests (dart-lang/web_socket_channel#75) Replace `.toList()` for cases where we don't care about the collected values. Replace `.listen(null).asFuture()` since that is exactly the implementation of `drain`.