mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@6cf8ebe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5c7c6763f6
commit
75334db3c6
111 changed files with 1031 additions and 231 deletions
|
|
@ -49,7 +49,7 @@ describe "GzipReader#read" do
|
|||
end
|
||||
|
||||
describe "at the end of data" do
|
||||
it "returns empty string if length prameter is not specified or 0" do
|
||||
it "returns empty string if length parameter is not specified or 0" do
|
||||
gz = Zlib::GzipReader.new @io
|
||||
gz.read # read till the end
|
||||
gz.read(0).should == ""
|
||||
|
|
@ -57,7 +57,7 @@ describe "GzipReader#read" do
|
|||
gz.read(nil).should == ""
|
||||
end
|
||||
|
||||
it "returns nil if length prameter is positive" do
|
||||
it "returns nil if length parameter is positive" do
|
||||
gz = Zlib::GzipReader.new @io
|
||||
gz.read # read till the end
|
||||
gz.read(1).should be_nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue