JRuby 1.7.x Tempfile.path ends up being \\ delimited. #3709

Closed
enebo opened this Issue Mar 3, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@enebo
Member

enebo commented Mar 3, 2016

Environment

JRuby 1.7.24-. JRuby 9k works as expected.

Expected Behavior

require "tempfile"

puts Tempfile.new("ddd", "C\tmp").path

Should be 'C:/tmp/ddd{random_crud}'.

Actual Behavior

C:\tmp\ddd{random_crud}

This also addresses a 2 failures on MRI's test suite in test/externals/ruby1.9/test_tempfile.rb.

@enebo enebo added the ruby 1.9 label Mar 3, 2016

@enebo enebo added this to the JRuby 1.7.25 milestone Mar 3, 2016

@enebo enebo closed this Mar 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment