Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 committed Nov 7, 2024
1 parent 3c4e1c4 commit 738943b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/subworkflows/local/input_check/input_check.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,17 @@ nextflow_workflow {

then {
assert workflow.success
assert workflow.out.reads == [[['id':'CSE', 'sample':'CSE', 'hybrid':false, 'assembly':false, 'downsampled':false, 'single_end':false, 'merge':false], ['/phac-nml/mikrokondo/raw/dev/tests/data/reads/campy-staph1.fq.gz', '/phac-nml/mikrokondo/raw/dev/tests/data/reads/campy-staph2.fq.gz']]]
assert workflow.out.reads[0][0].id == 'CSE'
assert workflow.out.reads[0][0].external_id == 'CSE'
assert workflow.out.reads[0][0].sample == 'CSE'
assert workflow.out.reads[0][0].hybrid == false
assert workflow.out.reads[0][0].assembly == false
assert workflow.out.reads[0][0].downsampled == false
assert workflow.out.reads[0][0].single_end == false
assert workflow.out.reads[0][0].merge == false
assert workflow.out.reads[0][1][0].endsWith('campy-staph1.fq.gz')
assert workflow.out.reads[0][1][1].endsWith('campy-staph2.fq.gz')

}
}

Expand Down

0 comments on commit 738943b

Please sign in to comment.