Skip to content

Commit de1c46f

Browse files
committed
tests: Be less strict about error type when doing SetAttribute
Signed-off-by: Jakub Jelen <[email protected]>
1 parent 9880c4c commit de1c46f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cryptoki/tests/basic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3824,7 +3824,7 @@ fn unique_id() -> TestResult {
38243824
assert!(matches!(
38253825
res,
38263826
Err(Error::Pkcs11(
3827-
RvError::AttributeReadOnly,
3827+
_,
38283828
Function::SetAttributeValue
38293829
))
38303830
));
@@ -3904,7 +3904,7 @@ fn validation() -> TestResult {
39043904
assert!(matches!(
39053905
res,
39063906
Err(Error::Pkcs11(
3907-
RvError::ActionProhibited,
3907+
_,
39083908
Function::SetAttributeValue
39093909
))
39103910
));

0 commit comments

Comments
 (0)