We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1680c9 + 09e8b5d commit 02480f6Copy full SHA for 02480f6
1 file changed
cryptoki/tests/basic.rs
@@ -1037,7 +1037,11 @@ fn get_info_test() -> TestResult {
1037
assert_eq!(info.cryptoki_version().minor(), 40);
1038
} else {
1039
assert_eq!(info.cryptoki_version().major(), 3);
1040
- assert_eq!(info.cryptoki_version().minor(), 2);
+ let minor = info.cryptoki_version().minor();
1041
+ assert!(
1042
+ [0, 2].contains(&minor),
1043
+ "Only 3.0 and 3.2 versions are expected but got 3.{minor}"
1044
+ );
1045
}
1046
Ok(())
1047
0 commit comments