test/gzip_reader_test.rb in iostreams-0.8.0 vs test/gzip_reader_test.rb in iostreams-0.8.1

- old
+ new

@@ -4,12 +4,12 @@ module Streams class GzipReaderTest < Minitest::Test context IOStreams::Gzip::Reader do setup do @file_name = File.join(File.dirname(__FILE__), 'files', 'text.txt.gz') - @gzip_data = File.open(@file_name, 'rb') { |f| f.read } - @data = Zlib::GzipReader.open(@file_name) {|gz| gz.read } + @gzip_data = File.open(@file_name, 'rb') { |f| f.read } + @data = Zlib::GzipReader.open(@file_name) { |gz| gz.read } end context '.open' do should 'file' do result = IOStreams::Gzip::Reader.open(@file_name) do |io| @@ -27,6 +27,6 @@ end end end end -end \ No newline at end of file +end