diff --git a/modules/nf-core/ltrharvest/tests/main.nf.test b/modules/nf-core/ltrharvest/tests/main.nf.test index a8dbdb4c692a..e82909dfa27c 100644 --- a/modules/nf-core/ltrharvest/tests/main.nf.test +++ b/modules/nf-core/ltrharvest/tests/main.nf.test @@ -48,7 +48,9 @@ nextflow_process { then { assertAll( { assert process.success }, - { assert snapshot(process.out).match() } + { assert snapshot(process.out.gff3).match("gff3_no_ltr") }, + { assert path(process.out.scn[0][1]).text.contains("predictions are reported in the following way") }, + { assert snapshot(path(process.out.versions[0]).text).match("versions_no_ltr") } ) } diff --git a/modules/nf-core/ltrharvest/tests/main.nf.test.snap b/modules/nf-core/ltrharvest/tests/main.nf.test.snap index 9da367215df0..cee4fecb00a8 100644 --- a/modules/nf-core/ltrharvest/tests/main.nf.test.snap +++ b/modules/nf-core/ltrharvest/tests/main.nf.test.snap @@ -1,53 +1,4 @@ { - "sarscov2-genome_fasta-no_ltr": { - "content": [ - { - "0": [ - [ - { - "id": "test" - }, - "test.gff3:md5,bddeb04277af08b5850e64708e8af02a" - ] - ], - "1": [ - [ - { - "id": "test" - }, - "test.scn:md5,052ad9f59f8780d4fc42a389f1a7cd3e" - ] - ], - "2": [ - "versions.yml:md5,51e82185b713482d1d48b6f15abe7fcc" - ], - "gff3": [ - [ - { - "id": "test" - }, - "test.gff3:md5,bddeb04277af08b5850e64708e8af02a" - ] - ], - "scn": [ - [ - { - "id": "test" - }, - "test.scn:md5,052ad9f59f8780d4fc42a389f1a7cd3e" - ] - ], - "versions": [ - "versions.yml:md5,51e82185b713482d1d48b6f15abe7fcc" - ] - } - ], - "meta": { - "nf-test": "0.8.4", - "nextflow": "24.04.2" - }, - "timestamp": "2024-07-16T12:49:31.454766" - }, "versions": { "content": [ "\"LTRHARVEST\":\n LTR_HARVEST_parallel: v1.1\n genometools: 1.6.5\n" @@ -107,6 +58,23 @@ }, "timestamp": "2024-02-22T14:44:30.682167" }, + "gff3_no_ltr": { + "content": [ + [ + [ + { + "id": "test" + }, + "test.gff3:md5,bddeb04277af08b5850e64708e8af02a" + ] + ] + ], + "meta": { + "nf-test": "0.8.4", + "nextflow": "24.04.3" + }, + "timestamp": "2024-07-16T15:19:51.163554" + }, "gff3": { "content": [ [ @@ -123,5 +91,15 @@ "nextflow": "23.10.1" }, "timestamp": "2024-02-22T19:29:33.962761" + }, + "versions_no_ltr": { + "content": [ + "\"LTRHARVEST\":\n LTR_HARVEST_parallel: v1.1\n genometools: 1.6.5\n" + ], + "meta": { + "nf-test": "0.8.4", + "nextflow": "24.04.3" + }, + "timestamp": "2024-07-16T15:19:51.177662" } } \ No newline at end of file