aboutsummaryrefslogtreecommitdiff
path: root/src/ssl/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/error.rs')
-rw-r--r--src/ssl/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/error.rs b/src/ssl/error.rs
index 5af6c866..7066299f 100644
--- a/src/ssl/error.rs
+++ b/src/ssl/error.rs
@@ -74,7 +74,7 @@ impl SslError {
fn test_uknown_error_should_have_correct_messages() {
let errs = match SslError::from_error(336032784) {
OpenSslErrors(errs) => errs,
- _ => fail!("This should always be an `OpenSslErrors` variant.")
+ _ => panic!("This should always be an `OpenSslErrors` variant.")
};
let UnknownError { ref library, ref function, ref reason } = errs[0];