Maintenance PR for clippy, license and authors (#601)

* Maintenance PR for clippy, license and authors

* remove author from libraries
This commit is contained in:
kaczmarczyck
2023-03-06 12:45:01 +01:00
committed by GitHub
parent 7769e783bb
commit 03031e6970
42 changed files with 304 additions and 281 deletions

View File

@@ -104,7 +104,7 @@ mod test {
#[test]
fn test_grant_up_timeout() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
grant_up_timeout(&mut env);
env.clock().advance(big_positive());
grant_up_timeout(&mut env);
@@ -112,7 +112,7 @@ mod test {
#[test]
fn test_need_up_timeout() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
need_up_timeout(&mut env);
env.clock().advance(big_positive());
need_up_timeout(&mut env);
@@ -120,7 +120,7 @@ mod test {
#[test]
fn test_grant_up_when_needed() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
grant_up_when_needed(&mut env);
env.clock().advance(big_positive());
grant_up_when_needed(&mut env);
@@ -128,7 +128,7 @@ mod test {
#[test]
fn test_grant_up_without_need() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
let mut u2f_state = U2fUserPresenceState::new();
u2f_state.grant_up(&mut env);
assert!(!u2f_state.is_up_needed(&mut env));