mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 16:55:46 +00:00
Fix clippy errors on tests (#2160)
## Issue Addressed
There are some clippy error on tests.
## Proposed Changes
Enable clippy check on tests and fix the errors. 💪
This commit is contained in:
@@ -110,7 +110,7 @@ mod test {
|
||||
|
||||
let _lockfile = File::create(&path).unwrap();
|
||||
|
||||
let lock = Lockfile::new(path.clone()).unwrap();
|
||||
let lock = Lockfile::new(path).unwrap();
|
||||
assert!(lock.file_existed());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user