diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/otp.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/otp.rs b/tests/otp.rs index 8124c76..2b46088 100644 --- a/tests/otp.rs +++ b/tests/otp.rs @@ -63,7 +63,10 @@ fn check_hotp_codes(device: &GenerateOtp, offset: u8) { fn set_time(device: DeviceWrapper) { assert_eq!(Ok(()), device.set_time(1546385382, true)); assert_eq!(Ok(()), device.set_time(1546385392, false)); - assert_eq!(Err(CommandError::Timestamp), device.set_time(1546385292, false)); + assert_eq!( + Err(CommandError::Timestamp), + device.set_time(1546385292, false) + ); assert_eq!(Ok(()), device.set_time(1546385382, true)); } |