Skip to content

Commit

Permalink
Add CLI test
Browse files Browse the repository at this point in the history
  • Loading branch information
dburgener committed Nov 18, 2022
1 parent 284a217 commit 3b40fc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/bin/casc/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,14 @@ pub enum ColorArg {
Auto,
Never,
}

#[cfg(test)]
mod tests {
use super::*;
use clap::CommandFactory;

#[test]
fn test_cli() {
Args::command().debug_assert();
}
}

0 comments on commit 3b40fc0

Please sign in to comment.