1use super::utils; 2 3use clap::Command; 4 5#[test] 6fn very_large_display_order() { 7 let cmd = Command::new("test").subcommand(Command::new("sub").display_order(usize::MAX)); 8 9 utils::assert_output( 10 cmd, 11 "test --help", 12 "\ 13Usage: test [COMMAND] 14 15Commands: 16 help Print this message or the help of the given subcommand(s) 17 sub 18 19Options: 20 -h, --help Print help 21", 22 false, 23 ); 24} 25