Please sign in to comment.
Handle errors correctly based on suite.options.error and the number o…
…f parameters expected by the vow: When suite.options.error is set to false or a vow expects two or more parameters, get the error as the first argument and don't report it; When suite.options.error is set to true and a vow expects zero or one parameters, report the error and do not run the vow.
- Loading branch information...
Showing with 33 additions and 7 deletions.