Fix for macro changes

This commit is contained in:
Steven Fackler 2013-10-22 21:12:22 -07:00
parent 302590c2b5
commit 162fff7c64
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ fn test_verify_untrusted() {
let mut ctx = SslContext::new(Sslv23);
ctx.set_verify(SslVerifyPeer);
match SslStream::try_new(&ctx, stream) {
Ok(_) => fail2!("expected failure"),
Ok(_) => fail!("expected failure"),
Err(err) => println!("error {:?}", err)
}
}
@ -35,7 +35,7 @@ fn test_verify_trusted() {
assert!(ctx.set_CA_file("cert.pem").is_none());
match SslStream::try_new(&ctx, stream) {
Ok(_) => (),
Err(err) => fail2!("Expected success, got {:?}", err)
Err(err) => fail!("Expected success, got {:?}", err)
}
}