This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Spec ./spec/rspec/support/encoded_string_spec.rb:204 will likely never pass on Rubinius #162
Closed
Description
The spec ./spec/rspec/support/encoded_string_spec.rb:204 currently fails on Rubinius. This test assumes that the following raises an encoding conversion error:
"foo\nbar".encode("UTF-16LE").split("\n")
Rubinius however supports this just fine and will return the following:
["foo", "bar\x0"]
Now the question is, is this spec supposed to stick around? What is it supposed to test? The expectation of this code failing seems to be based on implementation specific behaviour, although I'm not entirely sure.
@brixen Any thoughts on this, is the specific error here something we want to raise similar to MRI?
Metadata
Metadata
Assignees
Labels
No labels