Skip to content

Commit

Permalink
Added test that expects failure if you ask for a min-kmer count below 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellewell14 committed Jan 22, 2025
1 parent d0095f9 commit b06fdca
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/fastq_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -524,4 +524,15 @@ fn build_auto_check() {
.args(["--min-count", "auto", "-v", "-k", "9", "--min-qual", "2"])
.assert()
.success();

Command::new(cargo_bin("ska"))
.current_dir(sandbox.get_wd())
.arg("build")
.arg("-f")
.arg(rfile_name)
.arg("-o")
.arg("reads")
.args(["--min-count", "-1", "-v", "-k", "9", "--min-qual", "2"])
.assert()
.failure();
}

0 comments on commit b06fdca

Please sign in to comment.