Skip to content

Commit a69f1cb

Browse files
committed
minor code polish
1 parent 6ed6014 commit a69f1cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/kallisto.nf.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ nextflow_pipeline {
1616

1717
then {
1818
// stable_name: All files + folders in ${params.outdir}/ with a stable name
19-
def stable_name = getAllFilesFromDir(params.outdir, true, ['pipeline_info/*.{html,json,txt}'], null)
19+
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
2020
// stable_path: All files in ${params.outdir}/ with stable content
21-
def stable_path = getAllFilesFromDir(params.outdir, false, null, 'tests/.nftignore')
21+
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
2222
assertAll(
2323
{ assert workflow.success},
2424
{ assert snapshot(
@@ -27,7 +27,7 @@ nextflow_pipeline {
2727
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2828
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
2929
// All stable path name, with a relative path
30-
getRelativePath(stable_name, outputDir),
30+
stable_name,
3131
// All files with stable contents
3232
stable_path
3333
).match() }

0 commit comments

Comments
 (0)