Skip to content

Commit

Permalink
tokio-util: formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
nurmohammed840 committed Oct 12, 2024
1 parent dd5d065 commit 9f32aef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tokio-util/tests/framed_stream.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use futures_core::stream::Stream;
use tokio_test_macros::tokio_test;
use std::{io, pin::Pin};
use tokio_test::{assert_ready, io::Builder, task};
use tokio_test_macros::tokio_test;
use tokio_util::codec::{BytesCodec, FramedRead};

macro_rules! pin {
Expand Down
2 changes: 1 addition & 1 deletion tokio-util/tests/io_sink_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

use bytes::Bytes;
use futures_util::SinkExt;
use tokio_test_macros::tokio_test;
use std::io::{self, Error, ErrorKind};
use tokio::io::AsyncWriteExt;
use tokio_test_macros::tokio_test;
use tokio_util::codec::{Encoder, FramedWrite};
use tokio_util::io::{CopyToBytes, SinkWriter};
use tokio_util::sync::PollSender;
Expand Down
2 changes: 1 addition & 1 deletion tokio-util/tests/mpsc.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use futures::sink::SinkExt;
use tokio_test_macros::tokio_test;
use std::future::poll_fn;
use tokio::sync::mpsc::channel;
use tokio_test::task::spawn;
use tokio_test::{
assert_ok, assert_pending, assert_ready, assert_ready_eq, assert_ready_err, assert_ready_ok,
};
use tokio_test_macros::tokio_test;
use tokio_util::sync::PollSender;

#[tokio_test(miri)]
Expand Down

0 comments on commit 9f32aef

Please sign in to comment.