diff options
Diffstat (limited to 'src/tests/otp.rs')
-rw-r--r-- | src/tests/otp.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/otp.rs b/src/tests/otp.rs index 46843c8..ea41e68 100644 --- a/src/tests/otp.rs +++ b/src/tests/otp.rs @@ -133,7 +133,10 @@ fn hotp_erase() { fn configure_totp(admin: &ConfigureOtp, factor: u64) { let slot_data = OtpSlotData::new(1, "test-totp", TOTP_SECRET, OtpMode::EightDigits); let time_window = 30u64.checked_mul(factor).unwrap(); - assert_eq!(CommandStatus::Success, admin.write_totp_slot(slot_data, time_window as u16)); + assert_eq!( + CommandStatus::Success, + admin.write_totp_slot(slot_data, time_window as u16) + ); } fn check_totp_codes(device: &GenerateOtp, factor: u64) { |