You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Ruby library of mine, which provides refinements, was working as of JRuby 9.1.16.0. I recently added JRuby 9.2.0.0 and found that two tests which use refinements are now broken. Note all tests pass across all other Ruby versions, and I have not made any updates to the library.
1) Error:
RefinementsTest#test_xor:
NoMethodError: undefined method `xor' for "w\x12\xC5_\xD7\xB8\x06\xF3\xD4\x9Bl\x909\xF8(M":String
/home/travis/build/fny/xorcist/test/refinements_test.rb:10:in `test_xor'
2) Error:
RefinementsTest#test_xor_in_place:
NoMethodError: undefined method `xor!' for "String":String
/home/travis/build/fny/xorcist/test/refinements_test.rb:20:in `block in test_xor_in_place'
/home/travis/build/fny/xorcist/test/test_helper.rb:17:in `frozen_strings_dependent'
/home/travis/build/fny/xorcist/test/refinements_test.rb:19:in `test_xor_in_place'
A Ruby library of mine, which provides refinements, was working as of JRuby 9.1.16.0. I recently added JRuby 9.2.0.0 and found that two tests which use refinements are now broken. Note all tests pass across all other Ruby versions, and I have not made any updates to the library.
Full trace available here:
https://travis-ci.org/fny/xorcist/jobs/418932838
I've included the relevant code below as a convenience:
The text was updated successfully, but these errors were encountered: