Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
chore: format code
Lars Wirzenius committed 2 years ago
commit fd672cbdf70a1c933b9ea51dd51d70773365ca74
parent 3c2c2c2494e88f6eaa6a1e8ca3a8808effb41847
1 file changed +5 -2
modified 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()));