Skip to content

Commit c86e3c1

Browse files
committed
early failure
1 parent 4029e6f commit c86e3c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/default.nf.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ nextflow_pipeline {
1818
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
1919
// stable_path: All files in ${params.outdir}/ with stable content
2020
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
21+
assert workflow.success
2122
assertAll(
22-
{ assert workflow.success},
2323
{ assert snapshot(
2424
// Number of successful tasks
2525
workflow.trace.succeeded().size(),
@@ -52,8 +52,8 @@ nextflow_pipeline {
5252
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
5353
// stable_path: All files in ${params.outdir}/ with stable content
5454
def stable_path = getAllFilesFromDir(params.outdir, ignoreFile: 'tests/.nftignore')
55+
assert workflow.success
5556
assertAll(
56-
{ assert workflow.success},
5757
{ assert snapshot(
5858
// Number of successful tasks
5959
workflow.trace.succeeded().size(),

0 commit comments

Comments
 (0)