Skip to content

Commit

Permalink
Fix unit test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed Jun 3, 2024
1 parent 9aa19ea commit 3efde10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ nextflow_pipeline {
then {
with(workflow) {
assert success
assert trace.succeeded().contains("MEGAHIT")
assert !trace.succeeded().contains("SPADES")
assert trace.succeeded().count{ task -> task.name.contains("SPADES") } == 0
assert trace.succeeded().count{ task -> task.name.contains("MEGAHIT") } == 1
assert trace.tasks().size() == 17
}
}
Expand Down

0 comments on commit 3efde10

Please sign in to comment.