MRI behavior:
"a b".split(" ", &proc{})
#=> "a b"
TruffleRuby (head):
"a b".split(" ", &proc{})
#=> ["a", "b"]
Looks like this change from 2.6 hasn't been implemented: https://rubyreferences.github.io/rubychanges/2.6.html#stringsplit-with-block (though TruffleRuby "says" its RUBY_VERSION is 2.6).
This behaviour is covered by ruby/spec but it seems that these tests are disabled.
though TruffleRuby "says" its RUBY_VERSION is 2.6
Yes, we don't wait for 100% compatibility before claiming to be the new Ruby version. We set the version to what we aspire to be, import the code from MRI, and then work back through the issues over time. That might change when we become more stable, but while everything is still being developed I think it makes sense.
but it seems that these tests are disabled.
Tagged as failing, rather than disabled, but yes.
we don't wait for 100% compatibility before claiming to be the new Ruby version
Makes sense.
I just need an issue to track when it's resolved and I can remove workarounds 馃檪
@eregon could you assign the issue on me, please?