Skip to content

Commit 3f37431

Browse files
committed
Revert to removeFromYamlMap to exclude entire Workflow section from snapshots
1 parent a588df8 commit 3f37431

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/default.nf.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ nextflow_pipeline {
2222
{ assert snapshot(
2323
// Number of successful tasks
2424
workflow.trace.succeeded().size(),
25-
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we test pipelines on multiple Nextflow versions
26-
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
25+
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
26+
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow"),
2727
// All stable path name, with a relative path
2828
stable_name,
2929
// All files with stable contents
@@ -53,8 +53,8 @@ nextflow_pipeline {
5353
{ assert snapshot(
5454
// Number of successful tasks
5555
workflow.trace.succeeded().size(),
56-
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we test pipelines on multiple Nextflow versions
57-
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
56+
// pipeline versions.yml file for multiqc from which Nextflow and pipeline versions are removed (all from the workflow key)
57+
removeFromYamlMap("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml", "Workflow"),
5858
// All stable path name, with a relative path
5959
stable_name,
6060
// All files with stable contents

0 commit comments

Comments
 (0)