Fixing the doc tests
[?]
Feb 16, 2021, 9:06 PM
2B2UUFXGXMUGYT7KW6PYXSXIRVLXNBUNY6I47ULENHCSLOR4OG5QCDependencies
- [2]
ZGJF6NR2Make test in thrussh/src/lib pass - [3]
2WEO7OZLVersion updates: getting rid of anyhow + moving to Tokio 1.0 - [4]
7FRJYUI6Reboot because of a bad change
Change contents
- edit in thrussh/src/lib.rs at line 82
//! type Error = anyhow::Error; - edit in thrussh/src/lib.rs at line 170
//! type Error = anyhow::Error; - replacement in thrussh/src/lib.rs at line 196
//! let config = thrussh::client::Config::COMPRESSED;//! let config = thrussh::client::Config::default(); - replacement in thrussh/src/lib.rs at line 204
//! if session.authenticate_future(std::env::var("USER").unwrap(), key.clone_public_key(), agent).await.unwrap().1 {//! if session.authenticate_future(std::env::var("USER").unwrap(), key.clone_public_key(), agent).await.1.unwrap() { - replacement in thrussh/src/lib.rs at line 206
//! channel.data(b"Hello, world!").await.unwrap();//! channel.data(&b"Hello, world!"[..]).await.unwrap(); - replacement in thrussh/src/lib.rs at line 696
ChannelMsg::Data { data: msg_data } => { assert_eq!(*data, *msg_data) },ChannelMsg::Data { data: msg_data } => {assert_eq!(*data, *msg_data)}