()
| 1084 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1085 | #[test] |
| 1086 | fn long_about_is_stripped() { |
| 1087 | let tree = apply_agent_help(Cli::command()); |
| 1088 | let mut intent = tree |
| 1089 | .find_subcommand("intent") |
| 1090 | .expect("intent command present") |
| 1091 | .clone(); |
| 1092 | let help = intent.render_help().to_string(); |
| 1093 | assert!( |
| 1094 | !help.contains("# Examples"), |
| 1095 | "long_about markdown must not appear in help: {help}" |
| 1096 | ); |
| 1097 | } |
| 1098 | } |
nothing calls this directly
no test coverage detected