-
Notifications
You must be signed in to change notification settings - Fork 55
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
not enough 'require' to run correctly spec/hunk_spec.rb #33
Comments
Thank you for reporting this. It would have been nice if Debian had reported this upstream. |
it just did. I am the Debian maintainer of the package :) |
Ah. ;) I will get this fixed soon. |
The same on Fedora :) https://apps.fedoraproject.org/koschei/package/rubygem-diff-lcs |
Workaround for running the test suite I am using: $ rspec -rdiff/lcs -rdiff/lcs/hunk spec |
Merged
halostatue
added a commit
that referenced
this issue
Jan 11, 2017
- Updated testing and gem infrastructure. - Cleaning up documentation. - Modernizing specs. - Silence Ruby 2.4 Fixnum deprecation warnings. Fixes #36, #38. - Ensure test dependencies are loaded. Fixes #33, #34 so that specs can be run independently. - Fix issue #1 with incorrect intuition of patch direction. Tentative fix, but the failure cases pass now.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
When running rspec on a checkout of the repository, I get:
they all fail with the following error:
There is no 'require' chain loading lib/diff/lcs/hunk.rb from spec_helper. Adding
require 'diff/lcs/hunk'
to either spec/spec_helper.rb or spec/hunk_spec.rb does the trick.This bug is also referenced by the Debian project:
http://bugs.debian.org/794164
The text was updated successfully, but these errors were encountered: