diff options
author | Alex Crichton <alex@alexcrichton.com> | 2014-10-30 08:35:20 -0700 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2014-10-30 08:35:20 -0700 |
commit | 510d4f238a71a758d3c14be1717baec92ab147e5 (patch) | |
tree | b3d66fabf8b01d7d7550e5a261f3ef780b42411b /tests/all.rs | |
parent | efbfeed3d2d72c0b10e35882ea6d7b7004cceb7d (diff) | |
download | ssh2-rs-510d4f238a71a758d3c14be1717baec92ab147e5.zip |
fail => panic
Diffstat (limited to 'tests/all.rs')
-rw-r--r-- | tests/all.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/all.rs b/tests/all.rs index 5bb7257..cec7985 100644 --- a/tests/all.rs +++ b/tests/all.rs @@ -19,7 +19,7 @@ pub fn socket() -> TcpStream { }, None); match stream { Ok(s) => s, - Err(e) => fail!("no socket: [{}]: {}", e.code, e.detail), + Err(e) => panic!("no socket: [{}]: {}", e.code, e.detail), } } |