Skip to content

Commit

Permalink
Test if stderr error message is correct
Browse files Browse the repository at this point in the history
    contains "missing required parameter"
  • Loading branch information
AmstlerStephan committed Dec 15, 2023
1 parent c733b9d commit fcc40c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,7 @@ test("Should GWAS with chunking and optional step 1 param") {
}

then {
println workflow.stderr.contains("Missing required parameter")
assert workflow.failed
snapshot(workflow.trace).match()
}
Expand Down

0 comments on commit fcc40c6

Please sign in to comment.