mirror of
https://github.com/chatmail/core.git
synced 2026-04-27 10:26:29 +03:00
remove print from test
This commit is contained in:
@@ -77,7 +77,6 @@ mod tests {
|
|||||||
let response = r#"{"jsonrpc":"2.0","id":1,"result":1}"#;
|
let response = r#"{"jsonrpc":"2.0","id":1,"result":1}"#;
|
||||||
session.handle_incoming(request).await;
|
session.handle_incoming(request).await;
|
||||||
let result = receiver.next().await;
|
let result = receiver.next().await;
|
||||||
println!("{:?}", result);
|
|
||||||
assert_eq!(result, Some(response.to_owned()));
|
assert_eq!(result, Some(response.to_owned()));
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -85,7 +84,6 @@ mod tests {
|
|||||||
let response = r#"{"jsonrpc":"2.0","id":2,"result":null}"#;
|
let response = r#"{"jsonrpc":"2.0","id":2,"result":null}"#;
|
||||||
session.handle_incoming(request).await;
|
session.handle_incoming(request).await;
|
||||||
let result = receiver.next().await;
|
let result = receiver.next().await;
|
||||||
println!("{:?}", result);
|
|
||||||
assert_eq!(result, Some(response.to_owned()));
|
assert_eq!(result, Some(response.to_owned()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user