diff --git a/tests/modules/nf-core/cutadapt/main.nf.test b/tests/modules/nf-core/cutadapt/main.nf.test index 261fd4a..e5b7de8 100644 --- a/tests/modules/nf-core/cutadapt/main.nf.test +++ b/tests/modules/nf-core/cutadapt/main.nf.test @@ -21,7 +21,14 @@ nextflow_process { then { assert process.success - assert snapshot(process.out).match() + with(process.out) { + assert reads.size() == 1 + assert reads[0].size() == 2 + assert reads[0][0].size() == 2 + assert reads[0][1].size() == 2 + assert path(reads[0][1].get(0)).md5 == 'cd2ed3747e5e3280f12a227433c73cae' + assert path(reads[0][1].get(1)).md5 == '194a5403ffd5f9506f12bb035fd04448' + } } } diff --git a/tests/modules/nf-core/cutadapt/main.nf.test.snap b/tests/modules/nf-core/cutadapt/main.nf.test.snap deleted file mode 100644 index b6413cd..0000000 --- a/tests/modules/nf-core/cutadapt/main.nf.test.snap +++ /dev/null @@ -1,61 +0,0 @@ -{ - "Should run without failures": { - "content": [ - { - "0": [ - [ - { - "id": "ERR2537816", - "single_end": false - }, - [ - "ERR2537816.trimmed_1.trim.fastq.gz:md5,cd2ed3747e5e3280f12a227433c73cae", - "ERR2537816.trimmed_2.trim.fastq.gz:md5,194a5403ffd5f9506f12bb035fd04448" - ] - ] - ], - "1": [ - [ - { - "id": "ERR2537816", - "single_end": false - }, - "ERR2537816.trimmed.cutadapt.log:md5,757311a7115f283e659e035c2cce751d" - ] - ], - "2": [ - "versions.yml:md5,bc9892c68bfa7084ec5dbffbb9e8322f" - ], - "log": [ - [ - { - "id": "ERR2537816", - "single_end": false - }, - "ERR2537816.trimmed.cutadapt.log:md5,757311a7115f283e659e035c2cce751d" - ] - ], - "reads": [ - [ - { - "id": "ERR2537816", - "single_end": false - }, - [ - "ERR2537816.trimmed_1.trim.fastq.gz:md5,cd2ed3747e5e3280f12a227433c73cae", - "ERR2537816.trimmed_2.trim.fastq.gz:md5,194a5403ffd5f9506f12bb035fd04448" - ] - ] - ], - "versions": [ - "versions.yml:md5,bc9892c68bfa7084ec5dbffbb9e8322f" - ] - } - ], - "meta": { - "nf-test": "0.8.4", - "nextflow": "23.10.1" - }, - "timestamp": "2024-03-18T14:55:25.10912" - } -} \ No newline at end of file