test/zip64_full_test.rb in rubyzip-1.1.6 vs test/zip64_full_test.rb in rubyzip-1.1.7
- old
+ new
@@ -5,10 +5,14 @@
require 'zip'
# test zip64 support for real, by actually exceeding the 32-bit size/offset limits
# this test does not, of course, run with the normal unit tests! ;)
- class Zip64FullTest < MiniTest::Unit::TestCase
+ class Zip64FullTest < MiniTest::Test
+ def teardown
+ ::Zip.reset!
+ end
+
def prepareTestFile(test_filename)
::File.delete(test_filename) if ::File.exist?(test_filename)
return test_filename
end