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

feat: emit error event when expression engine return parsing errors #2311

Merged
merged 2 commits into from Apr 4, 2023

Conversation

mathnogueira
Copy link
Member

This PR makes the assertion runner emit a TEST_SPECS_ASSERTION_ERROR in case of invalid syntax in the assertion.

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

Copy link
Collaborator

@schoren schoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment on lines +36 to +38
type InvalidSyntaxError struct {
innerErr error
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@mathnogueira mathnogueira merged commit 125db30 into main Apr 4, 2023
28 checks passed
@mathnogueira mathnogueira deleted the feat/parsing-errors branch April 4, 2023 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add calls to the EventEmitter on Test spec execution (RESOLVE events)
3 participants