summaryrefslogtreecommitdiff
path: root/spec/ruby/library/zlib/gzipreader/read_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/zlib/gzipreader/read_spec.rb')
-rw-r--r--spec/ruby/library/zlib/gzipreader/read_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/zlib/gzipreader/read_spec.rb b/spec/ruby/library/zlib/gzipreader/read_spec.rb
index a90b2bf498f..67672eb0b88 100644
--- a/spec/ruby/library/zlib/gzipreader/read_spec.rb
+++ b/spec/ruby/library/zlib/gzipreader/read_spec.rb
@@ -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