-
Notifications
You must be signed in to change notification settings - Fork 7
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
Validate test / code-block configuration #7
Comments
Cool that you're looking at this! 🙂
Would it make sense to align with what I think |
Based on a skim of |
Thanks for looking into this -- let me know if there's anything I can do to help. |
It seems like some combinations of code-block tags are non-sensical. I've thought of:
ignore
withcompile_fail
,no_run
, orshould_panic
compile_fail
withno_run
orshould_panic
no_run
withshould_panic
It'd be nice to detect these surprising combinations. Offhand, I see two options:
handle_test
, returningTestResult::Invalid
(or something like that)My intuition is to that the
handle_test
is cleaner. However, I think we'd need to generalize a bit fromOutput
or rework the control flow inprint_results
or something like that.The text was updated successfully, but these errors were encountered: