aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/ssl/error.rs')
-rw-r--r--openssl/src/ssl/error.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl/src/ssl/error.rs b/openssl/src/ssl/error.rs
index 81f38692..91aad549 100644
--- a/openssl/src/ssl/error.rs
+++ b/openssl/src/ssl/error.rs
@@ -132,7 +132,7 @@ fn test_uknown_error_should_have_correct_messages() {
let UnknownError { ref library, ref function, ref reason } = errs[0];
- assert_eq!(library.as_slice(), "SSL routines");
- assert_eq!(function.as_slice(), "SSL23_GET_SERVER_HELLO");
- assert_eq!(reason.as_slice(), "sslv3 alert handshake failure");
+ assert_eq!(&library[..], "SSL routines");
+ assert_eq!(&function[..], "SSL23_GET_SERVER_HELLO");
+ assert_eq!(&reason[..], "sslv3 alert handshake failure");
}