Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
fix numerics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nvnieuwk committed Jan 25, 2024
1 parent 0361ace commit e4635c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,11 @@ class ValidateParametersTest extends Dsl2Spec{

then:
def error = thrown(SchemaValidationException)
error.message == "The following invalid input values have been detected:\n\n* Missing required parameter: --integer\n* Missing required parameter: --number\n\n"
error.message == """The following invalid input values have been detected:
* Missing required parameter(s): number, integer
"""
!stdout
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/nf-core/testpipeline/master/nextflow_schema.json",
"title": "nf-core/testpipeline pipeline parameters",
"description": "this is a test",
"type": "object",
"definitions": {
"defs": {
"input_output_options": {
"title": "Input/output options",
"type": "object",
Expand Down Expand Up @@ -53,10 +53,10 @@
},
"allOf": [
{
"$ref": "#/definitions/input_output_options"
"$ref": "#/defs/input_output_options"
},
{
"$ref": "#/definitions/numeric_options"
"$ref": "#/defs/numeric_options"
}
]
}

0 comments on commit e4635c1

Please sign in to comment.