-
Notifications
You must be signed in to change notification settings - Fork 608
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
Minitest 4.7.5 test suite fails one test with rubinius 2.2.7 #3062
Comments
Latest minitest version is also affected:
|
This seems to be the likely culprit: https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L23-L25. Currently trying to figure out if there's anything we can do about this. |
Repro extracted from the test suite: require 'minitest'
require 'minitest/mock'
arg = Minitest::Mock.new
mock = Minitest::Mock.new
mock.expect(:foo, nil, [arg])
mock.foo(arg) |
Digging further, it seems this might cause the code to fail: https://github.com/seattlerb/minitest/blob/master/lib/minitest/mock.rb#L143-L145 That would end up calling |
Just tried this on Rbx master, issue is still present:
|
Rubinius will continue to maintain compatibility with the current stable version of MRI to the extent possible. The focus for Rubinius in the near term is on the following capabilities:
Contributions in the form of PRs for any of the areas of focus above, or for Ruby compatibility, are appreciated. |
Trying to run the minitest 4.7.5 test suite with rubinius 2.2.7 (2.1.0 build 2014-05-20 JI) [x86_64-linux-gnu] gives me this error:
Tests were run with "rbx -Ilib:bin:test:. -S testrb test"
The text was updated successfully, but these errors were encountered: