()
| 1094 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1095 | #[test] |
| 1096 | fn long_about_is_stripped() { |
| 1097 | let tree = apply_agent_help(Cli::command()); |
| 1098 | let mut intent = tree |
| 1099 | .find_subcommand("intent") |
| 1100 | .expect("intent command present") |
| 1101 | .clone(); |
| 1102 | let help = intent.render_help().to_string(); |
| 1103 | assert!( |
| 1104 | !help.contains("# Examples"), |
| 1105 | "long_about markdown must not appear in help: {help}" |
| 1106 | ); |
| 1107 | } |
| 1108 | } |
nothing calls this directly
no test coverage detected