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

Update test to please DRY rule check in elvis #385

Closed
wants to merge 1 commit into from

Conversation

bjosv
Copy link
Contributor

@bjosv bjosv commented Apr 14, 2020

This corrects an issue found during the Travis build.

When Travis is running it uses the latest version of rebar3 and elvis,
but the latest elvis has a change regarding how it handles macros.
Elvis depends on katana_code, which has replaced the pre-processor handling, see:
inaka/katana-code#31

This has changed the behavior of elvis to also include code defined in TEST scope in its checks,
which this PR simply fixes.
This could also be solved by pinning elvis to a specific older version..

The latest elvis is using a new version of katana_code,
which has replaced the pre-processor handling, see:
inaka/katana-code#31

This has changed the behavior of elvis to also check code
defined in TEST scope.
@bjosv
Copy link
Contributor Author

bjosv commented Apr 20, 2020

Closing this due to its moved into #386 to get all baseline corrections at once.

@bjosv bjosv closed this Apr 20, 2020
@bjosv bjosv deleted the correct_elvis_test branch April 26, 2020 18:54
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.

None yet

2 participants