test/row_reader_test.rb in iostreams-1.10.1 vs test/row_reader_test.rb in iostreams-1.10.2
- old
+ new
@@ -18,16 +18,9 @@
end
assert_equal expected, rows
assert_equal expected.size, count
end
- it "with no block returns enumerator" do
- rows = IOStreams::Row::Reader.file(file_name) do |io|
- io.each.first(100)
- end
- assert_equal expected, rows
- end
-
it "stream" do
rows = []
count = IOStreams::Line::Reader.file(file_name) do |file|
IOStreams::Row::Reader.stream(file) do |io|
io.each { |row| rows << row }