summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-05 16:04:18 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-05 16:04:18 +0200
commitfd672cbdf70a1c933b9ea51dd51d70773365ca74 (patch)
treee24d29d8964f81b72a6fc5cb04e19050013fa8c3
parent3c2c2c2494e88f6eaa6a1e8ca3a8808effb41847 (diff)
downloadradicle-ci-broker-fd672cbdf70a1c933b9ea51dd51d70773365ca74.tar.gz
chore: format code
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r--src/msg.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/msg.rs b/src/msg.rs
index fa10e57..63fdccf 100644
--- a/src/msg.rs
+++ b/src/msg.rs
@@ -27,7 +27,7 @@ use radicle::{patch, Profile};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
-use crate::event::{is_patch_update, BrokerEvent, push_branch};
+use crate::event::{is_patch_update, push_branch, BrokerEvent};
/// The type of a run identifier. For maximum generality, this is a
/// string rather than an integer.
@@ -653,7 +653,10 @@ pub mod tests {
let push = push.unwrap();
assert_eq!(push.after, cmt);
assert_eq!(push.before, repo_head);
- assert_eq!(push.branch, "master".replace("$nid", &profile.id().to_string()));
+ assert_eq!(
+ push.branch,
+ "master".replace("$nid", &profile.id().to_string())
+ );
assert_eq!(push.commits, vec![cmt]);
assert_eq!(push.pusher.id, Did::from(profile.id()));