mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-04 23:02:32 -05:00
clippy fixes to tests
This commit is contained in:
@@ -421,12 +421,12 @@ mod tests {
|
||||
meta.dir_uuid.extend_from_slice(fake_uuid);
|
||||
{
|
||||
let o = meta.last_complete_open.mut_or_insert_default();
|
||||
o.id = u32::max_value();
|
||||
o.id = u32::MAX;
|
||||
o.uuid.extend_from_slice(fake_uuid);
|
||||
}
|
||||
{
|
||||
let o = meta.in_progress_open.mut_or_insert_default();
|
||||
o.id = u32::max_value();
|
||||
o.id = u32::MAX;
|
||||
o.uuid.extend_from_slice(fake_uuid);
|
||||
}
|
||||
let data = meta
|
||||
|
||||
Reference in New Issue
Block a user