From 3c445f4df76ca901d8c732a152fdaaaf3b057ec0 Mon Sep 17 00:00:00 2001 From: SimonDMurray Date: Tue, 19 Mar 2024 11:36:06 +0000 Subject: [PATCH] updated test to provide full path to snapshot file --- tests/modules/local/vsearch_derep.nf.test | 4 ++-- tests/modules/local/vsearch_derep.nf.test.snap | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/modules/local/vsearch_derep.nf.test b/tests/modules/local/vsearch_derep.nf.test index 8d4e31a..b765919 100755 --- a/tests/modules/local/vsearch_derep.nf.test +++ b/tests/modules/local/vsearch_derep.nf.test @@ -54,8 +54,8 @@ nextflow_process { assert process.out.versions.get(0) ==~ ".*/versions.yml" //Check the md5sums of the fasta and clustering assert snapshot( - path("${params.outdir}/vsearch/derep/ERR2537816.derep.fasta"), - path("${params.outdir}/vsearch/derep/ERR2537816.derep.uc") + path("${launchDir}/${params.outdir}/vsearch/derep/ERR2537816.derep.fasta"), + path("${launchDir}/${params.outdir}/vsearch/derep/ERR2537816.derep.uc") ).match("vsearch_dereplicate") } } diff --git a/tests/modules/local/vsearch_derep.nf.test.snap b/tests/modules/local/vsearch_derep.nf.test.snap index b12288a..008bced 100644 --- a/tests/modules/local/vsearch_derep.nf.test.snap +++ b/tests/modules/local/vsearch_derep.nf.test.snap @@ -1,13 +1,13 @@ { "vsearch_dereplicate": { "content": [ - "ERR2537816.derep.fasta:md5,04090476d9a902ecd8966f67dffd4621", + "ERR2537816.derep.fasta:md5,664eaf12d13a13d32b8caffcb031c48d", "ERR2537816.derep.uc:md5,35265131266966e6eefe2099725e127b" ], "meta": { "nf-test": "0.8.4", "nextflow": "23.10.1" }, - "timestamp": "2024-03-19T11:17:11.405323" + "timestamp": "2024-03-19T11:34:47.714992" } } \ No newline at end of file