-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
rake test fails with ruby 3.2.0preview3 #590
Labels
Comments
Quick fix is:
|
@mtasaka Thanks for reporting this. I will apply the patch you have suggested as soon as I have time. |
Note to self: the change is explained in more detail here. |
@mtasaka Sorry this took a while - I was unable to install Ruby v3.2.0-preview3 locally due to this issue. However, fortunately that version is available in CircleCI builds. |
The fix for this was released in v2.0.3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With latest git mocha ( f4a858d )
rake test
fails with ruby3.2preview3 like:So
test_should_not_raise_error_on_argument_that_does_not_respond_to_equals_tilde
seems to test for object not responding to=~
, so it tries to createClass
object then trying to undefine=~
method explicitly, however with ruby3.2 this makes error by:https://github.com/ruby/ruby/blob/eaf2b6c4396ff19921cbc75a394d7a752aaab4ef/NEWS.md?plain=1#L306
The text was updated successfully, but these errors were encountered: