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

Add support for --dump-input flag (fixes #19) #36

Merged
merged 3 commits into from
Sep 7, 2024

Conversation

AntonLydike
Copy link
Owner

@AntonLydike AntonLydike commented Aug 29, 2024

This adds support for the --dump-input flag, but currently only supports two out of the four values implemented upstream:

  • 🟢 never: Don't print anything
  • 🟢 fail: Print diagnostics on failure
  • 🔴 always: Always print something
  • 🔴 help: Print help text fur --dump-input

@AntonLydike AntonLydike added enhancement New feature or request parity Diverging from upstream FileCheck labels Aug 29, 2024
@AntonLydike AntonLydike self-assigned this Aug 29, 2024
@AntonLydike
Copy link
Owner Author

Closes #19

@AntonLydike AntonLydike linked an issue Aug 29, 2024 that may be closed by this pull request
@@ -12,6 +12,11 @@
match.
--match-full-lines : Expect every check line to match the whole line.
--reject-empty-vars : Raise an error when a value captures an empty string.
--dump-intput : Dump the input to stderr annotated with helpful

Choose a reason for hiding this comment

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

--dump-input

Copy link
Owner Author

Choose a reason for hiding this comment

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

Good catch!

@AntonLydike AntonLydike merged commit e3c2ef6 into main Sep 7, 2024
4 checks passed
@AntonLydike AntonLydike deleted the anton/dump-input-flag branch September 7, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request parity Diverging from upstream FileCheck
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing --dump-input flags
2 participants