From 4bc6b96f738c7d07b2c72083b2ee3895f1161440 Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Wed, 28 Feb 2024 00:06:35 -0500 Subject: [PATCH 1/2] smol --- src/core/identity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/identity.rs b/src/core/identity.rs index 0c59879..b21ccb3 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -1011,7 +1011,7 @@ pub async fn init(mgr: Arc) { // let mut outmsg = String::new(); - let sproles = sproles; + //let sproles = sproles; // let arg2 = arg2.unwrap(); let outmsg = if ((targetuser.to_lowercase() == msg.channel_login.to_lowercase()) From 9fed4a8a32ea59dca869026975a5009648e62748 Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Wed, 28 Feb 2024 00:15:16 -0500 Subject: [PATCH 2/2] remove unit tests --- src/core/botinstance.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/botinstance.rs b/src/core/botinstance.rs index 05cc69f..758ffdf 100644 --- a/src/core/botinstance.rs +++ b/src/core/botinstance.rs @@ -820,9 +820,9 @@ impl BotInstance { // UNIT TEST MODULES -#[cfg(test)] -mod tests { - fn always() { - assert_eq!(1, 1); - } -} +// #[cfg(test)] +// mod tests { +// fn always() { +// assert_eq!(1, 1); +// } +// }