diff options
Diffstat (limited to 'src/tests/pro.rs')
-rw-r--r-- | src/tests/pro.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/pro.rs b/src/tests/pro.rs index 915b45b..e52c287 100644 --- a/src/tests/pro.rs +++ b/src/tests/pro.rs @@ -180,7 +180,7 @@ fn configure_totp(admin: &ConfigureOtp) { assert_eq!(CommandStatus::Success, admin.write_totp_slot(slot_data, 30)); } -fn check_totp_codes<T: Device + GenerateOtp>(device: &T) { +fn check_totp_codes(device: &GenerateOtp) { for (i, &(time, code)) in TOTP_CODES.iter().enumerate() { assert_eq!(CommandStatus::Success, device.set_time(time)); let result = device.get_totp_code(1); |