Skip to content

Commit

Permalink
updated test to provide full path to snapshot file
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDMurray committed Mar 19, 2024
1 parent 2e308c2 commit 3c445f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/modules/local/vsearch_derep.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/modules/local/vsearch_derep.nf.test.snap
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 3c445f4

Please sign in to comment.