From cbe1d842b680601f292945fe83b0ef9cdb893ee4 Mon Sep 17 00:00:00 2001 From: "Juan E. Arango Ossa" Date: Tue, 23 Jan 2024 12:09:22 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20fix=20main.nf=20test=20assertions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/main.nf.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/main.nf.test b/tests/main.nf.test index e11598c..d28b893 100644 --- a/tests/main.nf.test +++ b/tests/main.nf.test @@ -15,9 +15,9 @@ nextflow_pipeline { } then { - assert process.failed - assert process.exitStatus == 1 - assert process.errorReport.contains("[ERROR]") + assert pipeline.failed + assert pipeline.exitStatus == 1 + assert pipeline.errorReport.contains("[ERROR]") } }