We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently one cannot have multiple asserts of the same type, as keys need to be unique. As an example:
- asserts: equal: args: [ true, true ] equal: args: [ true, true ]
This results in YAMLSemanticError: Map keys must be unique; "equal" is repeated.
YAMLSemanticError: Map keys must be unique; "equal" is repeated
Switching to using dashed notation works around this:
- asserts: - equal: args: [ true, true ] - equal: args: [ true, true ]
But this then results in an issue when resolving the asserts, where the key name is its index (0,1 etc.) rather than the assert name (equal):
A workaround is to separate them into additional assert sections, but having a single assert section would be ideal:
- asserts: equal: args: [ true, true ] - asserts: equal: args: [ true, true ]
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently one cannot have multiple asserts of the same type, as keys need to be unique. As an example:
This results in
YAMLSemanticError: Map keys must be unique; "equal" is repeated
.Switching to using dashed notation works around this:
But this then results in an issue when resolving the asserts, where the key name is its index (0,1 etc.) rather than the assert name (equal):
A workaround is to separate them into additional assert sections, but having a single assert section would be ideal:
The text was updated successfully, but these errors were encountered: