Skip to content

Commit

Permalink
Allow side_effect and verify to have parameters (#3730)
Browse files Browse the repository at this point in the history
* Allow side_effect and verify to have parameters

Fix #3729

* Do not use regexp in favor of anyOf
  • Loading branch information
ehartmann authored Dec 5, 2022
1 parent 3bfc755 commit e39341e
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions src/molecule/data/molecule.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,24 +457,30 @@
"type": "object"
},
"ScenarioSequence": {
"additionalProperties": false,
"items": {
"enum": [
"check",
"cleanup",
"converge",
"create",
"dependency",
"destroy",
"idempotence",
"lint",
"prepare",
"side_effect",
"syntax",
"test",
"verify"
],
"type": "string"
"anyOf": [
{
"enum": [
"check",
"cleanup",
"converge",
"create",
"dependency",
"destroy",
"idempotence",
"lint",
"prepare",
"side_effect",
"syntax",
"test",
"verify"
],
"type": "string"
},
{
"type": "string"
}
]
},
"title": "ScenarioSequence",
"type": "array"
Expand Down

0 comments on commit e39341e

Please sign in to comment.