diff --git a/crates/teloxide/tests/command.rs b/crates/teloxide/tests/command.rs index b10a229d..330e53a2 100644 --- a/crates/teloxide/tests/command.rs +++ b/crates/teloxide/tests/command.rs @@ -252,11 +252,15 @@ fn description_with_doc_attr() { Start, /// Help command\nwith new line Help, + /// Foo command + /// with new line + Foo, } assert_eq!( DefaultCommands::descriptions().to_string(), - "/start — Start command\n/help — Help command\nwith new line" + "/start — Start command\n/help — Help command\nwith new line\n/foo — Foo command\nwith \ + new line" ); }