diff --git a/crates/teloxide/tests/command.rs b/crates/teloxide/tests/command.rs index cc4cd8a1..cbd68abb 100644 --- a/crates/teloxide/tests/command.rs +++ b/crates/teloxide/tests/command.rs @@ -204,8 +204,10 @@ fn descriptions_off() { #[derive(BotCommands, Debug, PartialEq)] #[command(rename_rule = "lowercase")] enum DefaultCommands { - #[command(description = "off")] + #[command(hide)] Start, + #[command(hide)] + Username, Help, }