Fix me being very tired and undoing the fix I did instead of changing the test that failed because of it
This commit is contained in:
1 parent
52bc46b6d4
commit
1af68d464d
3 files changed
+3
-3
No files matched your search
@@ -13,7 +13,7 @@ pub async fn git(ctx: Context<'_>) -> Result<(), Error> {
|
||||
|
||||
let response = ctx.say("Processing...").await?;
|
||||
|
||||
let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive-bot\nIf you'd like to contribute, contact <@1389325880853270569> to get an account.";
|
||||
let msg = "Git repo: https://git.ewenlau.net/ewenlau/tg-archive\nIf you'd like to contribute, contact <@1389325880853270569> to get an account.";
|
||||
edit_response_message(&response, ctx, msg, true).await?;
|
||||
trace_message(
|
||||
msg,
|
||||
|
||||
+1
-1
@@ -1226,7 +1226,7 @@ mod tests {
|
||||
assert!(html.contains("class=\"theme-white\""));
|
||||
assert!(!html.contains("If you cannot see any messages"));
|
||||
assert!(include_str!("../../static/index.html").contains("If you cannot see any messages"));
|
||||
assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive-bot"));
|
||||
assert!(html.contains("git.ewenlau.net/ewenlau/tg-archive"));
|
||||
assert!(html.contains("Copyright © 2026 Ewi and contributors"));
|
||||
assert!(html.contains("licensed under GPL-3.0"));
|
||||
assert!(html.contains("href=\"/privacy\""));
|
||||
|
||||
Reference in new issue
Block a user