Skip to content
New issue

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

[matter_yamltests] Add an implicit rule that the key 'value' in argum… #28068

Conversation

vivien-apple
Copy link
Contributor

…ents can not be used if the command is not a 'writeAttribute'

Problem

If someone write a yaml test and use the 'value' key in 'arguments' but the command is not 'writeAttribute' it will fails with a cryptic error.
This PR makes it clear by explaining the error and showing the related keys.

…ents can not be used if the command is not a 'writeAttribute'
@vivien-apple vivien-apple force-pushed the MatterYamlTests_ImplicitArgumentValueRule branch from 654e7e0 to 3dd7d20 Compare July 21, 2023 10:22
@vivien-apple vivien-apple enabled auto-merge (squash) July 21, 2023 10:22
@pullapprove pullapprove bot requested a review from aronrosenberg July 21, 2023 10:22
@vivien-apple vivien-apple merged commit 13e440e into project-chip:master Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants