@ -4,6 +4,7 @@ use async_std::task;
#[test]
fn test_buffered_writer() {
#![allow(clippy::cognitive_complexity)]
task::block_on(async {
let inner = Vec::new();
let mut writer = BufWriter::with_capacity(2, inner);
@ -37,6 +37,7 @@ fn capacity() {
fn len_empty_full() {
let (s, r) = channel(2);