Skip to content

Commit

Permalink
add cli sanity test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Sep 13, 2023
1 parent d381b09 commit 6f54c7a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions fqcv-cli/src/commands/align.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,3 +452,16 @@ impl Command for Align {
Align::execute(self)
}
}

#[cfg(test)]
mod tests {
use clap::Parser;

use super::Align;

/// Check that the argument parser works
#[test]
fn test_parse() {
Align::parse_from(["align", "-f", ".", "-r", "."]);
}
}

0 comments on commit 6f54c7a

Please sign in to comment.