-
Notifications
You must be signed in to change notification settings - Fork 1
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
Macro compilation tests. #57
Conversation
Codecov Report
@@ Coverage Diff @@
## master #57 +/- ##
==========================================
- Coverage 22.00% 21.27% -0.74%
==========================================
Files 54 54
Lines 3853 3986 +133
==========================================
Hits 848 848
- Misses 3005 3138 +133
Continue to review full report at Codecov.
|
There are two failures, caused by things outside of this PR:
|
Fixed the Both of these failures seem to be out of scope of this crate. I'm thinking the best option moving forward is to just disable trybuild tests on the |
Just to clarify, the decision to ignore these tests for I will be keeping the more recent version of |
This PR defines macro compilation tests using the
trybuild
crate. These tests are for every macro defined within this crate. Additionally, some macros (specifically, thestages!
macro and a small amount of theentities!
macro) were rewritten to match the expected output (which is good, that means the tests are working!). More tests could be added in the future with #54, but for now I believe this covers all the possible failure cases of the macros.