-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[enhancement] allow more use-cases of test:fail
Just be re-ordering arguments test:fail can be used for some other use-cases. When the expected and actual values are not needed for some reason these can now be omitted. - `test:fail#0`: just fail with default type and message - `test:fail#1`: fail with a custom failure type - `test:fail#3`: fail with custom **message**, expected and actual value - `test:fail#4`: allows to set all values: type, message, expected and actual The tests in custom-assertion.xqm were adapted and enhanced.
- Loading branch information
Showing
2 changed files
with
109 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters