aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-01-11 23:45:12 -0800
committerSteven Fackler <[email protected]>2016-01-11 23:45:12 -0800
commit86e2f81f4388c652edaea7475cc121420a7b5b86 (patch)
treece16c2b16f0bdb4bc3dad66f9e10a516e441dfac /openssl/src
parentTest nightly on travis (diff)
downloadrust-openssl-86e2f81f4388c652edaea7475cc121420a7b5b86.tar.xz
rust-openssl-86e2f81f4388c652edaea7475cc121420a7b5b86.zip
Fix should_panic check
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/ssl/tests/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl/src/ssl/tests/mod.rs b/openssl/src/ssl/tests/mod.rs
index 7bd39170..a763f496 100644
--- a/openssl/src/ssl/tests/mod.rs
+++ b/openssl/src/ssl/tests/mod.rs
@@ -959,7 +959,7 @@ fn broken_try_clone_doesnt_crash() {
}
#[test]
-#[should_panic(message = "blammo")]
+#[should_panic(expected = "blammo")]
#[cfg(feature = "nightly")]
fn write_panic() {
struct ExplodingStream(TcpStream);
@@ -988,7 +988,7 @@ fn write_panic() {
}
#[test]
-#[should_panic(message = "blammo")]
+#[should_panic(expected = "blammo")]
#[cfg(feature = "nightly")]
fn read_panic() {
struct ExplodingStream(TcpStream);
@@ -1017,7 +1017,7 @@ fn read_panic() {
}
#[test]
-#[should_panic(message = "blammo")]
+#[should_panic(expected = "blammo")]
#[cfg(feature = "nightly")]
fn flush_panic() {
struct ExplodingStream(TcpStream);