test/paths/file_test.rb in iostreams-1.10.1 vs test/paths/file_test.rb in iostreams-1.10.2
- old
+ new
@@ -22,14 +22,9 @@
records = []
count = file_path.each { |line| records << line }
assert_equal count, data.lines.size
assert_equal data.lines.collect(&:strip), records
end
-
- it "reads lines without block" do
- records = file_path.each.first(100)
- assert_equal data.lines.collect(&:strip), records
- end
end
describe "#each_child" do
it "iterates an empty path" do
none = nil