Skip to content

Commit 5fe18d9

Browse files
committed
update also subworkflow test template
1 parent 26f9884 commit 5fe18d9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

nf_core/subworkflow-template/tests/main.nf.test.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ nextflow_workflow {
3333
"""
3434
}
3535
}
36-
3736
then {
37+
assert process.success
3838
assertAll(
39-
{ assert workflow.success},
40-
{ assert snapshot(workflow.out).match()}
41-
//TODO nf-core: Add all required assertions to verify the test output.
39+
{ assert snapshot(
40+
workflow.out.versions
41+
//TODO nf-core: Add all required assertions to verify the test output.
42+
).match() }
4243
)
4344
}
4445
}

0 commit comments

Comments
 (0)