We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76746f7 commit b8169e1Copy full SHA for b8169e1
src/bot.rs
@@ -3234,7 +3234,7 @@ mod tests {
3234
fn about_text_includes_build_commit_in_version_line() {
3235
let text = super::build_about_text();
3236
assert!(text.contains(&format!("v{}", env!("CARGO_PKG_VERSION"))));
3237
- assert!(text.contains(&format!("(<code>{}</code>)", super::BUILD_GIT_COMMIT)));
+ assert!(text.contains(&format!("({})", super::BUILD_GIT_COMMIT)));
3238
}
3239
3240
@@ -3331,7 +3331,7 @@ const BUILD_GIT_COMMIT: &str = match option_env!("BUILD_GIT_COMMIT") {
3331
3332
fn build_about_text() -> String {
3333
format!(
3334
- r"🎵 Music163bot-Rust v{} (<code>{}</code>)
+ r"🎵 Music163bot-Rust v{} ({})
3335
3336
一个用来下载/分享/搜索网易云歌曲的 Telegram Bot
3337
0 commit comments