-
-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:IO#bytes returns an enumerator of the next bytes from the stream | ||
fails:IO#bytes raises an IOError on closed stream | ||
fails:IO#bytes raises an IOError on an enumerator for a stream that has been closed |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
fails:IO#chars yields each character | ||
fails:IO#chars returns itself | ||
fails:IO#chars raises an IOError when an enumerator created on a closed stream is accessed | ||
fails:IO#chars raises IOError on closed stream |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
fails:IO#codepoints yields each codepoint | ||
fails:IO#codepoints raises an error if reading invalid sequence | ||
fails:IO#codepoints does not change $_ | ||
fails:IO#codepoints raises an IOError when self is not readable | ||
fails:IO#codepoints calls the given block |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
fails:IO#each_char yields each character | ||
fails:IO#each_char returns itself | ||
fails:IO#each_char raises an IOError when an enumerator created on a closed stream is accessed | ||
fails:IO#each_char raises IOError on closed stream |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
fails:IO#each_codepoint yields each codepoint | ||
fails:IO#each_codepoint raises an error if reading invalid sequence | ||
fails:IO#each_codepoint does not change $_ | ||
fails:IO#each_codepoint raises an IOError when self is not readable | ||
fails:IO#each_codepoint calls the given block | ||
fails:IO#each_codepoint returns self |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:IO#getbyte returns the next byte from the stream | ||
fails:IO#getbyte raises an IOError on closed stream |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:IO#getc returns the next character from the stream | ||
fails:IO#getc raises IOError on closed stream |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:IO#ioctl raises IOError on closed stream | ||
fails(linux):IO#ioctl raises an Errno error when ioctl fails |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
fails:IO.open raises an Errno::EBADF if the file descriptor is not valid | ||
fails:IO.open raises an IOError if passed a closed stream | ||
fails:IO.open does not propagate a StandardError raised by #close | ||
fails:IO.open does not set last error when a StandardError raised by #close | ||
fails:IO.open propagates an exception raised by #close that is a StandardError |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
fails:IO#pos raises IOError on closed stream | ||
fails:IO#pos resets #eof? | ||
fails:IO#pos= does not accept Bignums that don't fit in a C long | ||
fails:IO#pos= raises IOError on closed stream |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:IO#readline raises IOError on closed stream | ||
fails:IO#readline assigns the returned line to $_ |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
fails:IO#seek does not accept Bignums that don't fit in a C long | ||
fails:IO#seek raises IOError on closed stream | ||
fails:IO#seek moves the read position relative to the current position with SEEK_CUR |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
fails:IO#sysseek does not accept Bignums that don't fit in a C long | ||
fails:IO#sysseek raises IOError on closed stream | ||
fails:IO#sysseek moves the read position relative to the end with SEEK_END |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:IO#tell raises IOError on closed stream | ||
fails:IO#tell resets #eof? |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
fails:IO#ungetbyte puts back each byte in a String argument | ||
fails:IO#ungetbyte calls #to_str to convert the argument | ||
fails:IO#ungetbyte puts back one byte for an Integer argument | ||
fails:IO#ungetbyte raises an IOError if the IO is closed |
This file was deleted.