Skip to content

Commit cd51b7b

Browse files
authored
Add debug assert to crates-admin cli (#7521)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent 6b2ba8c commit cd51b7b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bin/crates-admin.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ fn main() -> anyhow::Result<()> {
5353
Command::EnqueueJob(command) => enqueue_job::run(command),
5454
}
5555
}
56+
57+
#[test]
58+
fn verify_cli() {
59+
use clap::CommandFactory;
60+
Command::command().debug_assert();
61+
}

0 commit comments

Comments
 (0)