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

Fix the test suite to run against latest Guard. #24

Merged
merged 1 commit into from
Dec 6, 2015

Conversation

ic
Copy link
Contributor

@ic ic commented Nov 6, 2015

The test suite works fine with Guard 2.1, but fails with Guard 2.13.

The failure comes from heavy refactoring in recent version of Guard,
where static initialization is expected by the runtime. The init just
does not happen when running the test suite.

guard-compat seems to address the problem, but it was not updated for a
year at time of writing, and this commit is pretty simple in the end.

The tests remain untouched and all pass.

This seems an alternative to #19

The test suite works fine with Guard 2.1, but fails with Guard 2.13.

The failure comes from heavy refactoring in recent version of Guard,
where static initialization is expected by the runtime. The init just
does not happen when running the test suite.

guard-compat seems to address the problem, but it was not updated for a
year at time of writing, and this commit is pretty simple in the end.

The tests remain untouched and all pass.
yujinakayama added a commit that referenced this pull request Dec 6, 2015
Fix the test suite to run against latest Guard.
@yujinakayama yujinakayama merged commit c7ef4a8 into rubocop:master Dec 6, 2015
@yujinakayama
Copy link
Collaborator

👍

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.

2 participants