correct const arrays of strings
This commit is contained in:
@@ -1815,6 +1815,10 @@ mod test {
|
||||
|
||||
#[test]
|
||||
fn test_from_enterprise_attestation_mode() {
|
||||
assert_eq!(
|
||||
EnterpriseAttestationMode::try_from(0),
|
||||
Err(Ctap2StatusCode::CTAP2_ERR_INVALID_OPTION),
|
||||
);
|
||||
assert_eq!(
|
||||
EnterpriseAttestationMode::try_from(1),
|
||||
Ok(EnterpriseAttestationMode::VendorFacilitated),
|
||||
|
||||
Reference in New Issue
Block a user