test/test_minitar.rb in minitar-1.0.0 vs test/test_minitar.rb in minitar-1.0.1
- old
+ new
@@ -29,10 +29,10 @@
{name: "empty2004", size: 0, mode: 0o755, mtime: FILE_2004, nil: true}
]
count = 0
reader = StringIO.new(writer.string)
- Minitar::Input.open(reader) do |stream|
+ Minitar.open(reader) do |stream|
stream.each.with_index do |entry, i|
assert_kind_of Minitar::Reader::EntryStream, entry
assert_equal expected[i][:name], entry.name
assert_equal expected[i][:size], entry.size