()
| 1114 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1115 | #[test] |
| 1116 | fn long_about_is_stripped() { |
| 1117 | let tree = apply_agent_help(Cli::command()); |
| 1118 | let mut intent = tree |
| 1119 | .find_subcommand("intent") |
| 1120 | .expect("intent command present") |
| 1121 | .clone(); |
| 1122 | let help = intent.render_help().to_string(); |
| 1123 | assert!( |
| 1124 | !help.contains("# Examples"), |
| 1125 | "long_about markdown must not appear in help: {help}" |
| 1126 | ); |
| 1127 | } |
| 1128 | } |
nothing calls this directly
no test coverage detected