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
jruby 1.7.25-SNAPSHOT (1.9.3p551) 2016-03-09 fed46bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_74-b02 +jit [Windows 7-amd64]
(works as expected on 9k)
Expected Behavior
require'tempfile'f=Tempfile.new("test-truncate")f.puts"abc"f.puts"def"f.closef.openf.gets# should == "abc\n"
Actual Behavior
It will f.gets will equal "abc\r\n".
Notes
This occurs multiple times in MRI test suite so I am confident this will get coverage but I will try and remember to add a spec if it is not adequately covered in ruby/spec.
The text was updated successfully, but these errors were encountered:
Environment
jruby 1.7.25-SNAPSHOT (1.9.3p551) 2016-03-09 fed46bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_74-b02 +jit [Windows 7-amd64]
(works as expected on 9k)
Expected Behavior
Actual Behavior
It will f.gets will equal "abc\r\n".
Notes
This occurs multiple times in MRI test suite so I am confident this will get coverage but I will try and remember to add a spec if it is not adequately covered in ruby/spec.
The text was updated successfully, but these errors were encountered: