diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-03-05 16:04:18 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-03-05 16:04:18 +0200 |
commit | fd672cbdf70a1c933b9ea51dd51d70773365ca74 (patch) | |
tree | e24d29d8964f81b72a6fc5cb04e19050013fa8c3 | |
parent | 3c2c2c2494e88f6eaa6a1e8ca3a8808effb41847 (diff) | |
download | radicle-ci-broker-fd672cbdf70a1c933b9ea51dd51d70773365ca74.tar.gz |
chore: format code
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r-- | src/msg.rs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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())); |