diff options
| author | Robin Krahl <robin.krahl@ireas.org> | 2018-06-06 15:17:52 +0200 | 
|---|---|---|
| committer | Robin Krahl <robin.krahl@ireas.org> | 2018-06-06 15:17:52 +0200 | 
| commit | 720b5fef6d9777d568d9921cc0c4b1c617025384 (patch) | |
| tree | 2767eb8e0ebd57ce66cc34f4a6fe9bd829adc170 | |
| parent | 017a27a009947d73c00f934a1e052b0ef021680b (diff) | |
| download | nitrokey-rs-720b5fef6d9777d568d9921cc0c4b1c617025384.tar.gz nitrokey-rs-720b5fef6d9777d568d9921cc0c4b1c617025384.tar.bz2 | |
Fix formatting in OTP test case
| -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) { | 
