()
| 1019 | /// `# Examples` markdown that derives from a command's doc comment. |
| 1020 | #[test] |
| 1021 | fn long_about_is_stripped() { |
| 1022 | let tree = apply_agent_help(Cli::command()); |
| 1023 | let mut intent = tree |
| 1024 | .find_subcommand("intent") |
| 1025 | .expect("intent command present") |
| 1026 | .clone(); |
| 1027 | let help = intent.render_help().to_string(); |
| 1028 | assert!( |
| 1029 | !help.contains("# Examples"), |
| 1030 | "long_about markdown must not appear in help: {help}" |
| 1031 | ); |
| 1032 | } |
| 1033 | } |
nothing calls this directly
no test coverage detected