diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-03-25 09:44:24 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-25 09:44:24 -0700 |
commit | b41fbc927ff55525fc4a6c31aea83e49604f84bc (patch) | |
tree | dd6600c32c73786e5ec9f9ab7efa405622765cd6 /tests/all.rs | |
parent | 20051a11312ff1769bd21c461232c0cb8bc99815 (diff) | |
download | ssh2-rs-b41fbc927ff55525fc4a6c31aea83e49604f84bc.zip |
Update to rust master
Diffstat (limited to 'tests/all.rs')
-rw-r--r-- | tests/all.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/all.rs b/tests/all.rs index 74c38b1..5930a8f 100644 --- a/tests/all.rs +++ b/tests/all.rs @@ -1,5 +1,5 @@ #![deny(warnings)] -#![feature(core)] +#![feature(convert)] extern crate ssh2; extern crate libc; @@ -30,7 +30,7 @@ pub fn authed_session() -> (TcpStream, ssh2::Session) { agent.connect().unwrap(); agent.list_identities().unwrap(); let identity = agent.identities().next().unwrap().unwrap(); - agent.userauth(user.as_slice(), &identity).unwrap(); + agent.userauth(&user, &identity).unwrap(); } assert!(sess.authenticated()); (socket, sess) |