diff --git a/crates/lox-distributor/src/troll_patrol_handler.rs b/crates/lox-distributor/src/troll_patrol_handler.rs index aceb3d0b03eaa4958443c4f51b543a2e3d5f17a9..d14caacffc9cb1d2059d76c09b81cc54485f54c2 100644 --- a/crates/lox-distributor/src/troll_patrol_handler.rs +++ b/crates/lox-distributor/src/troll_patrol_handler.rs @@ -476,7 +476,8 @@ mod tests { &cred, &th.context.ba.lock().unwrap().lox_pub, "ru".to_string(), - ); + ) + .unwrap(); reports.push(report.to_serializable_report()); } assert_eq!(reports.len(), 3); @@ -490,7 +491,8 @@ mod tests { &cred, &th.context.ba.lock().unwrap().lox_pub, "ru".to_string(), - ); + ) + .unwrap(); invalid_report_1.date = invalid_report_1.date + 2; reports.push(invalid_report_1.to_serializable_report()); @@ -501,7 +503,8 @@ mod tests { &cred, &th.context.ba.lock().unwrap().lox_pub, "xx".to_string(), - ); + ) + .unwrap(); reports.push(invalid_report_2.to_serializable_report()); // Check that well-formed reports with incorrect bridge data are not counted @@ -517,7 +520,8 @@ mod tests { &cred, &th.context.ba.lock().unwrap().lox_pub, "ru".to_string(), - ); + ) + .unwrap(); invalid_report_3.fingerprint = empty_bridgeline_fingerprint; reports.push(invalid_report_3.to_serializable_report());