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

Improve error messages so they contrast what was expected with what was received #216

Open
epage opened this issue Dec 15, 2021 · 0 comments
Labels
enhancement Improve the expected

Comments

@epage
Copy link
Collaborator

epage commented Dec 15, 2021

This is at least for the conventional parsing.

See crate-ci/typos#387 (comment) for the idea.

When we define a context, I think it saves off the input string, so we can look at that to see what the actual was for a subset of the parsed content.

@epage epage added the enhancement Improve the expected label Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve the expected
Projects
None yet
Development

No branches or pull requests

1 participant