mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 04:47:39 +03:00
cleanup tests
This commit is contained in:
parent
57838b5122
commit
ddb3867252
2 changed files with 9 additions and 3 deletions
|
@ -569,9 +569,15 @@ mod tests {
|
|||
use crate::BytesCodec;
|
||||
|
||||
#[ntex::test]
|
||||
async fn test_debug() {
|
||||
async fn test_basics() {
|
||||
let (_, server) = Io::create();
|
||||
let server = Framed::new(server, BytesCodec);
|
||||
let mut server = Framed::new(server, BytesCodec);
|
||||
server.get_codec_mut();
|
||||
server.get_ref();
|
||||
server.get_mut();
|
||||
|
||||
let parts = server.into_parts();
|
||||
let server = Framed::from_parts(FramedParts::new(parts.io, parts.codec));
|
||||
assert!(format!("{:?}", server).contains("Framed"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue