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(resolve): resolve constants on check too #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

douglasduteil
Copy link

Hi @dylanmckay

Like @lukaspustina, I find this crate a holy tool that I will certainly over use ! 🙏
Here is my attempt fixing the CHECK @variable issue (#5)





NOTE: #[cfg(tes)]

It seems like there is a typo on #[cfg(test)] in src/parse.rs preventing the unit tests to run :

#[cfg(tes)]

Activating it made the compiler angry so I changed the tests a bit...
I hope that it still follows the specs you have in mind (:





NOOTE: rustfmt ?

It seems like you are not using the default code formatter as I had to manually disable it to have that "minimal" PR.
Are you against the idea of using it on this project ?






I have to thank lord @sheredom for his inspirational article that convinced me, a lvl 0 Rust-y 🦀, to take a closer look at this testing tool beauty 😏


Fixes #5

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.

Constants doesn't seem to work in CHECK
1 participant