Test for File.truncate to raise Errno::ENOENT if the file does not exist
Reported by vvs | November 23rd, 2007 @ 12:08 PM | in 1.0 preview
Additional test for File.truncate, to make sure that invocation of File.truncate on non-existing file is not going to create that file.
MRI behaves that way on both Unix and Win32 platforms, and it seems the most sensible thing to do.
Comments and changes to this ticket
-
Tilman Sauerbeck December 6th, 2007 @ 06:28 AM
- → State changed from new to resolved
Thanks for the spec. I've committed it along with a stub File.truncate for Rubinius in 4fa2fbb6b6c27ced5d6cf902e63e3989c2d29b64.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
