Add panic message.
This commit is contained in:
parent
191c6221b4
commit
d62f73e84c
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ pub fn test_verify(
|
||||||
if let Err(OpenpgpCardError::OcStatus(s)) = res {
|
if let Err(OpenpgpCardError::OcStatus(s)) = res {
|
||||||
assert_eq!(s, OcErrorStatus::SecurityStatusNotSatisfied);
|
assert_eq!(s, OcErrorStatus::SecurityStatusNotSatisfied);
|
||||||
} else {
|
} else {
|
||||||
panic!();
|
panic!("Status should be 'SecurityStatusNotSatisfied'");
|
||||||
}
|
}
|
||||||
|
|
||||||
ca.verify_pw3("12345678")?;
|
ca.verify_pw3("12345678")?;
|
||||||
|
|
Loading…
Reference in a new issue