test/file_reader_test.rb in iostreams-0.8.2 vs test/file_reader_test.rb in iostreams-0.9.0
- old
+ new
@@ -14,9 +14,10 @@
result = IOStreams::File::Reader.open(@file_name) do |io|
io.read
end
assert_equal @data, result
end
+
it 'stream' do
result = File.open(@file_name) do |file|
IOStreams::File::Reader.open(file) do |io|
io.read
end