From 720b5fef6d9777d568d9921cc0c4b1c617025384 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 6 Jun 2018 15:17:52 +0200 Subject: Fix formatting in OTP test case --- src/tests/otp.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3