Skip to content

Commit

Permalink
Updated power assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Sep 6, 2024
1 parent d515d78 commit d1891ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
6 changes: 5 additions & 1 deletion modules/nf-core/krona/ktupdatetaxonomy/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ nextflow_process {
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match() }
{ assert snapshot(
file(process.out.db[0]).name, //unstable
process.out.versions
).match()
}
)
}
}
Expand Down
20 changes: 5 additions & 15 deletions modules/nf-core/krona/ktupdatetaxonomy/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
{
"test-krona-ktupdatetaxonomy": {
"content": [
{
"0": [
"taxonomy.tab:md5,6d8ea6b7ff721f735412a670805de501"
],
"1": [
"versions.yml:md5,a0e095fdd3ba80fcc62188c4c1f38ff7"
],
"db": [
"taxonomy.tab:md5,6d8ea6b7ff721f735412a670805de501"
],
"versions": [
"versions.yml:md5,a0e095fdd3ba80fcc62188c4c1f38ff7"
]
}
"taxonomy.tab",
[
"versions.yml:md5,a0e095fdd3ba80fcc62188c4c1f38ff7"
]
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.04.4"
},
"timestamp": "2024-09-05T20:28:34.176093"
"timestamp": "2024-09-06T20:17:37.154632"
},
"test-krona-ktupdatetaxonomy-stub": {
"content": [
Expand Down

0 comments on commit d1891ff

Please sign in to comment.