()
| 1197 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1198 | #[test] |
| 1199 | fn long_about_is_stripped() { |
| 1200 | let tree = apply_agent_help(Cli::command()); |
| 1201 | let mut intent = tree |
| 1202 | .find_subcommand("intent") |
| 1203 | .expect("intent command present") |
| 1204 | .clone(); |
| 1205 | let help = intent.render_help().to_string(); |
| 1206 | assert!( |
| 1207 | !help.contains("# Examples"), |
| 1208 | "long_about markdown must not appear in help: {help}" |
| 1209 | ); |
| 1210 | } |
| 1211 | } |
nothing calls this directly
no test coverage detected