()
| 1178 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1179 | #[test] |
| 1180 | fn long_about_is_stripped() { |
| 1181 | let tree = apply_agent_help(Cli::command()); |
| 1182 | let mut intent = tree |
| 1183 | .find_subcommand("intent") |
| 1184 | .expect("intent command present") |
| 1185 | .clone(); |
| 1186 | let help = intent.render_help().to_string(); |
| 1187 | assert!( |
| 1188 | !help.contains("# Examples"), |
| 1189 | "long_about markdown must not appear in help: {help}" |
| 1190 | ); |
| 1191 | } |
| 1192 | } |
nothing calls this directly
no test coverage detected